/PHP-7.3/ext/fileinfo/ |
H A D | magicdata.patch | 7 0 regex \^#include C 8 ->0 regex \^class[[:space:]]+ 9 +>0 regex/4096 \^class[[:space:]]+ 10 >>&0 regex \\{[\.\*]\\}(;)?$ \b++ 14 -0 regex \^#[[:space:]]*pragma C source text 17 -0 regex \^#[[:space:]]*(if\|ifn)def 19 +0 regex/4096 \^#[[:space:]]*(if\|ifn)def 22 -0 regex \^#[[:space:]]*(if\|ifn)def 24 +0 regex/4096 \^#[[:space:]]*(if\|ifn)def 42 -0 regex \^union[[:space:]]+ C source text [all …]
|
/PHP-7.3/ext/pcre/tests/ |
H A D | null_bytes.phpt | 22 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 3 24 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 4 26 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 5 28 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 6 30 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 7 32 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 9 34 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 10 36 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 11 38 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 12 40 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 13 [all …]
|
H A D | pcre_count.phpt | 5 $regex = '/(([0-9a-z]+)-([0-9]+))-(([0-9]+)-([0-9]+))/'; 9 var_dump(preg_replace($regex, 'xxxx', $string, -1, $count)); 13 $regex = '/([a-z]+)/'; 16 var_dump(preg_replace($regex, 'xxxx', $string, -1, $count)); 20 $regex = '~((V(I|1)(4|A)GR(4|A))|(V(I|1)C(0|O)D(I|1)(N|\/\\\/)))~i'; 23 var_dump(preg_replace($regex, '...', $string, -1, $count)); 26 $regex = '~((V(I|1)(4|A)GR(4|A))|(V(I|1)C(0|O)D(I|1)(N|\/\\\/)))~i'; 29 var_dump(preg_replace($regex, '...', $string, -1));
|
H A D | bug47662.phpt | 6 $regex = '@'; 8 $regex .= '((?P<x'.$bar.'>))'; 11 $regex .= 'fo+bar@'; 13 var_dump(preg_match($regex, 'foobar'));
|
H A D | bug73483.phpt | 5 $regex = "#dummy#"; 7 var_dump(preg_replace_callback($regex, function (array $matches) use($regex) { 9 $ret = preg_replace($regex, "okey", $matches[0]);
|
H A D | bug70345.phpt | 5 $regex = '/(?=xyz\K)/'; 8 var_dump(preg_split($regex, $subject)); 10 $regex = '/(a(?=xyz\K))/'; 12 preg_match($regex, $subject, $matches);
|
H A D | marks.phpt | 6 $regex = <<<'REGEX' 15 var_dump(preg_match($regex, '_c_', $matches)); 18 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_PATTERN_ORDER)); 21 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_SET_ORDER)); 24 var_dump(preg_replace_callback($regex, function($matches) {
|
H A D | preg_grep_error.phpt | 6 * proto array preg_grep(string regex, array input [, int flags]) 15 $regex = '/\d/'; 19 var_dump(preg_grep($regex, $input, $flags, $extra_arg)); 22 $regex = 'string_val'; 23 var_dump(preg_grep($regex));
|
H A D | preg_replace_error.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 15 $regex = '/\w/'; 20 var_dump(preg_replace($regex, $replace, $subject, $limit, $count, $extra_arg)); 23 $regex = '/\w/'; 25 var_dump(preg_replace($regex, $replace));
|
H A D | preg_replace_callback_error.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 20 $regex = '/\d/'; 24 var_dump(preg_replace_callback($regex, 'integer_word', $subject, $limit, $count, $extra_arg)); 27 $regex = '/\d/'; 28 var_dump(preg_replace_callback($regex, 'integer word'));
|
H A D | preg_grep_error2.phpt | 6 * proto array preg_grep(string regex, array input [, int flags]) 14 $regex = '/[a-zA-Z]/'; 18 var_dump(preg_grep($regex, $value)); 21 var_dump(preg_grep($regex, $value));
|
H A D | preg_replace_error2.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 14 $regex = '/[a-zA-Z]/'; 19 var_dump(preg_replace($regex, $value, $subject)); 22 var_dump(preg_replace($regex, $value, $subject));
|
H A D | bug41050.phpt | 7 $regex = '/(insert|drop|create|select|delete|update)([^;\']*('."('[^']*')+".')?)*(;|$)/i'; 11 if (preg_match($regex,$sql, $m)) echo 'matched';
|
H A D | preg_split_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 18 var_dump(preg_split($regex, $value)); 21 var_dump(preg_split($regex, $value));
|
H A D | preg_replace_callback.phpt | 10 $regex = '#\[indent]((?:[^[]|\[(?!/?indent])|(?R))+)\[/indent]#'; 16 return preg_replace_callback($regex, 'parseTagsRecursive', $input);
|
H A D | preg_match_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 18 var_dump(preg_match($regex, $value)); 21 var_dump(preg_match($regex, $value));
|
/PHP-7.3/ext/spl/tests/ |
H A D | bug68175.phpt | 6 $regex = new RegexIterator($arr, '/^test/'); 8 $regex->getMode(), 9 $regex->getFlags(), 10 $regex->getPregFlags()
|
/PHP-7.3/ext/spl/examples/ |
H A D | keyfilter.inc | 25 private $regex; 33 * @param regex Regular expression used as a filter. 35 function __construct(Iterator $it, $regex) 38 $this->regex = $regex; 45 return ereg($this->regex, $this->getInnerIterator()->key()); 52 return $this->regex;
|
H A D | regexfindfile.inc | 25 * @param $regex perl style regular expression to find files with 27 function __construct($path, $regex) 29 parent::__construct($path, $regex);
|
/PHP-7.3/ext/spl/internal/ |
H A D | regexiterator.inc | 31 private $regex; /**< the regular expression to match against */ 45 * @param regex the regular expression to match 52 function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { 54 $this->regex = $regex; 78 return preg_match($this->regex, $subject, $matches, $this->preg_flags); 82 return preg_match($this->regex, $subject, $this->current, $this->preg_flags) > 0; 86 return preg_match_all($this->regex, $subject, $this->current, $this->preg_flags) > 0; 90 preg_split($this->regex, $subject, $this->current, $this->preg_flags) > 1; 94 $result = preg_replace($this->regex, $this->replacement, $subject); 166 return $this->regex;
|
/PHP-7.3/ext/mbstring/tests/ |
H A D | mb_ereg_variation5.phpt | 2 Test mb_ereg() function : usage variations - Test anchors in regex 26 $regex = '^.*?[[:blank:]]?[[:punct:][:digit:]]+\.?$'; 29 var_dump(mb_ereg($regex, $string_ascii)); 31 var_dump(mb_ereg($regex, $string_ascii, $regs_ascii)); 35 var_dump(mb_ereg($regex, $string_mb)); 37 var_dump(mb_ereg($regex, $string_mb, $regs_mb));
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.h | 34 PHPAPI zend_string *php_pcre_replace(zend_string *regex, zend_string *subject_str, char *subject, s… 35 PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count, uint32_t *o… 36 PHPAPI pcre2_code* pcre_get_compiled_regex_ex(zend_string *regex, uint32_t *capture_count, uint32_t… 46 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex); 47 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache_ex(zend_string *regex, int locale_aware);
|
H A D | php_pcre.c | 565 key = regex; in pcre_get_compiled_regex_cache_ex() 573 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 580 p = ZSTR_VAL(regex); in pcre_get_compiled_regex_cache_ex() 587 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 602 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 647 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 651 if (pp < ZSTR_VAL(regex) + ZSTR_LEN(regex)) { in pcre_get_compiled_regex_cache_ex() 671 while (pp < ZSTR_VAL(regex) + ZSTR_LEN(regex)) { in pcre_get_compiled_regex_cache_ex() 725 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 733 if (key != regex) { in pcre_get_compiled_regex_cache_ex() [all …]
|
/PHP-7.3/ext/mbstring/oniguruma/doc/ |
H A D | API | 61 Create a regex object. 161 Create a regex object. 174 Create a regex object. 219 1 reg: regex object. 227 1 reg: regex object. 312 1 reg: regex object 350 1 reg: regex object 387 1 reg: regex object 418 2 reg: regex object 431 3 reg: regex object [all …]
|
/PHP-7.3/ext/fileinfo/tests/ |
H A D | finfo_file_regex.phpt | 2 Test finfo_file() function : regex rules 16 echo "*** Testing finfo_file() : regex rules ***\n"; 26 *** Testing finfo_file() : regex rules ***
|