Home
last modified time | relevance | path

Searched refs:preg_match (Results 101 – 125 of 172) sorted by last modified time

1234567

/php-src/ext/pcre/tests/
H A Dpreg_replace2.phpt5 if (@preg_match('/./u', '') === false) {
H A Dskip_002.inc3 if (@preg_match('/./u', '') === false) {
H A Dstudy.phpt6 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 Dungreedy.phpt6 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 D004.phpt15 …MED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(s, preg_match)\n{\nlalala", -1…
129 string(13) "s, preg_match"
H A Dbug27103.phpt5 if (@preg_match('/./u', '') === false) {
H A Dbug38600.phpt7 var_dump(preg_match('/(?<!\w)(0x[\p{N}]+[lL]?|[\p{Nd}]+(e[\p{Nd}]*)?[lLdDfF]?)(?!\w)/', $foo, $m));
H A Dbug40195.phpt6 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 Dbug41050.phpt11 if (preg_match($regex,$sql, $m)) echo 'matched';
H A Dbug61780.phpt5 preg_match('/(a)?([a-z]*)(\d*)/', '123', $matches, PREG_UNMATCHED_AS_NULL);
H A Dbug61780_1.phpt5 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 Dbug61780_2.phpt5 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 Dbug70345.phpt12 preg_match($regex, $subject, $matches);
19 Warning: preg_match(): Get subpatterns list failed in %s on line %d
H A Dbug72685.phpt15 while (preg_match('/\G\w/u', $str, $m, 0, $pos)) ++$pos;
H A Dbug72688.phpt2 Bug #72688 (preg_match missing group names in matches)
12 preg_match($fullPattern, '290', $matches);
H A Dbug76850.phpt2 Bug #76850 Exit code mangled by set locale/preg_match
21 var_dump(preg_match('/./', "a"));
H A Dbug76909.phpt2 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 Dbug77827.phpt2 Bug #77827 (preg_match does not ignore \r in regex flags)
6 preg_match("/foo/i\r", 'FOO'),
H A Dbug78272.phpt2 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 Dbug78338.phpt8 preg_match($string, $string);
H A Dbug78853.phpt2 Bug #78853 (preg_match() may return integer > 1)
5 var_dump(preg_match('/^|\d{1,2}$/', "7"));
H A Dbug79241.phpt2 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 Dbug79257.phpt6 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 Dbug79846.phpt6 preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match);
H A Dbug80118.phpt5 preg_match('~[^\p{Han}\p{Z}]~u', ' ', $matches);

Completed in 28 milliseconds

1234567