PageRenderTime 913ms queryFilters 1ms Sphinxql 410ms GetByIds 454ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 1ms

87,346 results for 'php preg_match_all repo:dimon36/projekt_1' (913 ms)

Source

Language

Repository

comment.php https://github.com/schr/wordpress.git | PHP | 1,641 lines
1<?php
2/**
47
48	if ( get_option('comment_max_links') && preg_match_all("/<[Aa][^>]*[Hh][Rr][Ee][Ff]=['\"]([^\"'>]+)[^>]*>/", apply_filters('comment_text',$comment), $out) >= get_option('comment_max_links') )
49		return false; // Check # of external links
623
624	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
625		foreach ( (array) $chars[1] as $char ) {
1402	global $wp_version;
1403	include_once(ABSPATH . WPINC . '/class-IXR.php');
1404
1418	// This regexp comes straight from phpfreaks.com
1419	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1420	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1427	// http://dummy-weblog.org/
1428	// http://dummy-weblog.org/post.php
1429	// We don't wanna ping first and second types, even if they have a valid <link/>
comment-functions.php http://core.svn.wordpress.org/ | PHP | 927 lines
4
5function comments_template( $file = '/comments.php' ) {
6	global $wp_query, $withcomments, $post, $wpdb, $id, $comment, $user_login, $user_ID, $user_identity;
28	else
29		require( ABSPATH . 'wp-content/themes/default/comments.php');
30}
487	global $id;
488	$tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;
489
587	global $wp_version, $wpdb;
588	include_once (ABSPATH . WPINC . '/class-IXR.php');
589
605	// This regexp comes straight from phpfreaks.com
606	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
607	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
comment-functions.php http://core.svn.wordpress.org/ | PHP | 933 lines
10
11function comments_template( $file = '/comments.php' ) {
12	global $wp_query, $withcomments, $post, $wpdb, $id, $comment, $user_login, $user_ID, $user_identity;
34	else
35		require( ABSPATH . 'wp-content/themes/default/comments.php');
36}
493	global $id;
494	$tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;
495
593	global $wp_version, $wpdb;
594	include_once (ABSPATH . WPINC . '/class-IXR.php');
595
611	// This regexp comes straight from phpfreaks.com
612	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
613	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
magic.class.php https://github.com/BankKit/daishu.git | PHP | 804 lines
1<?php
2
3/******************************
4 * $File: magic.class.php
5 * $Description: ģ
31	
32	var $mysql_file = 'mysql.class.php';//mysql �ļ�
33	
109	function compile_path($template_name){
110		$new_compile_name = "%".urlencode($template_name).".php";
111		if ($this->compile_dir != ""){
284        $rdq = preg_quote($this->right_tag, '~');
285		$search = "~({$ldq}\s*literal\s*{$rdq})(.*?)({$ldq}\s*/literal\s*{$rdq})|{$ldq}\s*php\s*{$rdq}(.*?){$ldq}\s*/php\s*{$rdq}~s";
286		preg_match_all($search, $content, $__match);
293		
294        preg_match_all("~{$left_tag}\s*(.*?)\s*{$right_tag}~s", $content, $_match);
295        $template_tags = $_match[1];
index.php http://sharebooks.googlecode.com/svn/trunk/ | PHP | 191 lines
1<?php
2
2
3include_once('define.php');
4include_once('filter.class.php');
45	array('.svn', 'config', 'files', 'language', 'logs', 'templates_pub'),
46	array('html', 'php')
47);
52	$out = Array();
53	if($info['extension'] == 'php') {
54		preg_match_all("@\->(display|fetch)\(('|\")(.*)('|\")\)@U", $content, $outs);
59	if($info['extension'] == 'html') {
60		preg_match_all("@file=('|\")(.*)('|\")@U", $content, $outs);
61		if(count($outs[2]) > 0) {
151	<body>
152<?php
153if(count($cacheFiles) > 0) {
comment.php https://github.com/ianloic/wordpress-ianloic.git | PHP | 1,295 lines
1<?php
2/**
30
31	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
32		return false; // Check # of external links
411
412	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
413		foreach ( (array) $chars[1] as $char ) {
1105	global $wp_version;
1106	include_once(ABSPATH . WPINC . '/class-IXR.php');
1107
1121	// This regexp comes straight from phpfreaks.com
1122	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1123	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1130	// http://dummy-weblog.org/
1131	// http://dummy-weblog.org/post.php
1132	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/Mercedes/ratonesytortillas.git | PHP | 1,295 lines
1<?php
2/**
30
31	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
32		return false; // Check # of external links
411
412	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
413		foreach ( (array) $chars[1] as $char ) {
1105	global $wp_version;
1106	include_once(ABSPATH . WPINC . '/class-IXR.php');
1107
1121	// This regexp comes straight from phpfreaks.com
1122	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1123	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1130	// http://dummy-weblog.org/
1131	// http://dummy-weblog.org/post.php
1132	// We don't wanna ping first and second types, even if they have a valid <link/>
php-pcre.el https://github.com/andreaja/dotemacs.git | Lisp | 104 lines
20
21;; file:///usr/share/doc/php-doc/html/ref.pcre.html
22
22
23(define-skeleton php-preg_filter
24  "Insert a preg_filter statement. preg_filter is identical to preg_replace except it only returns the (possibly transformed) subjects where there was a match."
30
31(define-skeleton php-preg_grep
32  "Insert a preg_grep statement. preg_grep return array entries that match the pattern."
37
38(define-skeleton php-preg_last_error
39  "Insert a preg_last_error statement. Returns the error code of the last PCRE regex execution"
43
44(define-skeleton php-preg_match_all
45  "Insert a preg_match_all statement. Perform a global regular expression match"
comment.php https://github.com/akil/qtwebkit.git | PHP | 1,295 lines
1<?php
2/**
30
31	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
32		return false; // Check # of external links
411
412	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
413		foreach ( (array) $chars[1] as $char ) {
1105	global $wp_version;
1106	include_once(ABSPATH . WPINC . '/class-IXR.php');
1107
1121	// This regexp comes straight from phpfreaks.com
1122	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1123	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1130	// http://dummy-weblog.org/
1131	// http://dummy-weblog.org/post.php
1132	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/alx/blogsfera.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/alx/alexgirard.com-blog.git | PHP | 1,353 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/dvrensk/wordpress-template.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/kvlasov/qtwebkit.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/jasonm/diybio.org.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/radioverve/verve.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/alx/pressid.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/radioverve/rv.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/alx/barceloneta.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/cuano/pressmark.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
comment.php https://github.com/zeke/wordpress_blog.git | PHP | 1,352 lines
1<?php
2/**
46
47	if ( preg_match_all("|(href\t*?=\t*?['\"]?)?(https?:)?//|i", $comment, $out) >= get_option('comment_max_links') )
48		return false; // Check # of external links
431
432	if ( preg_match_all('/&#(\d+);/', $comment . $author . $url, $chars) ) {
433		foreach ( (array) $chars[1] as $char ) {
1164	global $wp_version;
1165	include_once(ABSPATH . WPINC . '/class-IXR.php');
1166
1180	// This regexp comes straight from phpfreaks.com
1181	// http://www.phpfreaks.com/quickcode/Extract_All_URLs_on_a_Page/15.php
1182	preg_match_all("{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x", $content, $post_links_temp);
1189	// http://dummy-weblog.org/
1190	// http://dummy-weblog.org/post.php
1191	// We don't wanna ping first and second types, even if they have a valid <link/>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21