/php-src/ext/pcre/tests/ |
H A D | preg_replace2.phpt | 5 if (@preg_match('/./u', '') === false) {
|
H A D | skip_002.inc | 3 if (@preg_match('/./u', '') === false) {
|
H A D | study.phpt | 6 var_dump(preg_match('/(?:(?:(?:(?:(?:(.))))))/ S', 'aeiou', $dump)); 8 var_dump(preg_match('/(?:(?:(?:(?:(?:(.))))))/', 'aeiou', $dump)); 11 var_dump(preg_match('/(?>..)((?:(?>.)|.|.|.|u))/S', 'aeiou', $dump)); 15 var_dump(preg_match('/^aeiou$/S', 'aeiou', $dump)); 17 var_dump(preg_match('/aeiou/S', 'aeiou', $dump));
|
H A D | ungreedy.phpt | 6 var_dump(preg_match('/<.*>/', '<aa> <bb> <cc>', $m)); 9 var_dump(preg_match('/<.*>/U', '<aa> <bb> <cc>', $m)); 12 var_dump(preg_match('/(?U)<.*>/', '<aa> <bb> <cc>', $m));
|
H A D | 004.phpt | 15 …MED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(s, preg_match)\n{\nlalala", -1… 129 string(13) "s, preg_match"
|
H A D | bug27103.phpt | 5 if (@preg_match('/./u', '') === false) {
|
H A D | bug38600.phpt | 7 var_dump(preg_match('/(?<!\w)(0x[\p{N}]+[lL]?|[\p{Nd}]+(e[\p{Nd}]*)?[lLdDfF]?)(?!\w)/', $foo, $m));
|
H A D | bug40195.phpt | 6 var_dump(preg_match('@^(/([a-z]*))*$@', '//abcde', $m)); var_dump($m); 7 var_dump(preg_match('@^(/(?:[a-z]*))*$@', '//abcde', $m)); var_dump($m); 9 var_dump(preg_match('@^(/([a-z]+))+$@', '/a/abcde', $m)); var_dump($m); 10 var_dump(preg_match('@^(/(?:[a-z]+))+$@', '/a/abcde', $m)); var_dump($m);
|
H A D | bug41050.phpt | 11 if (preg_match($regex,$sql, $m)) echo 'matched';
|
H A D | bug61780.phpt | 5 preg_match('/(a)?([a-z]*)(\d*)/', '123', $matches, PREG_UNMATCHED_AS_NULL);
|
H A D | bug61780_1.phpt | 5 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL); 8 preg_match('/(4)?(2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
|
H A D | bug61780_2.phpt | 5 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_UNMATCHED_AS_NULL); 8 preg_match('/(?<a>4)?(?<b>2)?\d/', '23456', $matches, PREG_OFFSET_CAPTURE | PREG_UNMATCHED_AS_NULL);
|
H A D | bug70345.phpt | 12 preg_match($regex, $subject, $matches); 19 Warning: preg_match(): Get subpatterns list failed in %s on line %d
|
H A D | bug72685.phpt | 15 while (preg_match('/\G\w/u', $str, $m, 0, $pos)) ++$pos;
|
H A D | bug72688.phpt | 2 Bug #72688 (preg_match missing group names in matches) 12 preg_match($fullPattern, '290', $matches);
|
H A D | bug76850.phpt | 2 Bug #76850 Exit code mangled by set locale/preg_match 21 var_dump(preg_match('/./', "a"));
|
H A D | bug76909.phpt | 2 Bug #76909 preg_match difference between 7.3 and < 7.3 16 $n0 = preg_match($reg0, $data, $m0); 17 $n1 = preg_match($reg1, $data, $m1);
|
H A D | bug77827.phpt | 2 Bug #77827 (preg_match does not ignore \r in regex flags) 6 preg_match("/foo/i\r", 'FOO'),
|
H A D | bug78272.phpt | 2 Bug #78272: calling preg_match() before pcntl_fork() will freeze child process 7 preg_match('/abc/', 'abcde', $r); 12 preg_match('/abc/', 'abcde', $r);
|
H A D | bug78338.phpt | 8 preg_match($string, $string);
|
H A D | bug78853.phpt | 2 Bug #78853 (preg_match() may return integer > 1) 5 var_dump(preg_match('/^|\d{1,2}$/', "7"));
|
H A D | bug79241.phpt | 2 Bug #79241: Segmentation fault on preg_match() 12 // it has to be exact two calls to preg_match(), 14 var_dump(preg_match($pattern, $text, $matches, 0, 0)); 15 var_dump(preg_match($pattern, $text, $matches, 0, 1)); 21 var_dump(preg_match($pattern, $text, $matches, 0, 4)); 22 var_dump(preg_match($pattern, $text, $matches, 0, 0));
|
H A D | bug79257.phpt | 6 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches); 8 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches, 11 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches, 14 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches, 18 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))(?<h>baz)/', 'foobaz', $matches); 20 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))(?<h>baz)/', 'foobaz', $matches, 23 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))(?<h>baz)/', 'foobaz', $matches, 26 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))(?<h>baz)/', 'foobaz', $matches,
|
H A D | bug79846.phpt | 6 preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match);
|
H A D | bug80118.phpt | 5 preg_match('~[^\p{Han}\p{Z}]~u', ' ', $matches);
|