/php-src/ext/pcre/tests/ |
H A D | cache_limit.phpt | 16 if (!preg_match("/$re/", $str)) { 21 var_dump(preg_match('/./', $str)); // this one was already deleted from the cache 22 var_dump(preg_match("/$re/", $str)); // but not this one
|
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 | invalid_utf8_offset.phpt | 5 if (@preg_match('/./u', '') === false) { 14 var_dump(preg_match('~.*~u', $string, $m, 0, 1)); 18 var_dump(preg_match('~.*~u', $string, $m, 0, 2));
|
H A D | bug74873.phpt | 2 Bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()) 5 var_dump(preg_match('/\S+/', 'foo bar', $matches, 0, 99999));
|
H A D | locales.phpt | 15 var_dump(preg_match('/^\w{6}$/', 'a�����')); 18 var_dump(preg_match('/^\w{6}$/', 'a�����')); 21 var_dump(preg_match('/^\w{6}$/', 'a�����'));
|
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 | preg_match_basic_002.phpt | 2 preg_match() single line match with multi-line input 6 preg_match("/M(.*)/", $string, $matches);
|
H A D | bug52732.phpt | 2 Bug #52732 (Docs say preg_match() returns FALSE on error, but it returns int(0)) 7 $ret = preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar');
|
H A D | bug72688.phpt | 2 Bug #72688 (preg_match missing group names in matches) 12 preg_match($fullPattern, '290', $matches);
|
H A D | bug75457.phpt | 6 var_dump(preg_match($pattern, "hello")); 9 Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %s…
|
H A D | no_jit_bug70110.phpt | 8 var_dump(preg_match('/(*NO_JIT)^(A{1,2}B)+$$/',str_repeat('AB',8192))); 9 var_dump(preg_match('~(*NO_JIT)(a)*~', str_repeat('a', 5431), $match))
|
H A D | preg_match_error3.phpt | 2 Test preg_match() function : error conditions - jit stacklimit exhausted 13 var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));
|
H A D | errors05.phpt | 2 Test preg_match() function : error conditions - jit stacklimit exhausted 13 var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));
|
H A D | errors06.phpt | 2 Test preg_match() function : error conditions - Malformed UTF-8 offset 5 preg_match('/a/u', "\xE3\x82\xA2", $m, 0, 1);
|
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 | bug70345.phpt | 12 preg_match($regex, $subject, $matches); 19 Warning: preg_match(): Get subpatterns list failed in %s on line %d
|
H A D | bug81101.phpt | 9 preg_match('/\\\\([^\\\\]+)\s*$/', $test, $matches); 14 preg_match('/\\\\([^\\\\]+)\s*$/', $test2, $matches);
|
H A D | bug75207.phpt | 5 preg_match("/(?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(… 8 Warning: preg_match(): Compilation failed: unmatched closing parenthesis at offset %d in %s on line…
|
H A D | preg_match_variation1.phpt | 2 Test preg_match() function : variation 10 preg_match('/[\-\+]?[0-9\.]*/', $string, $string);
|
H A D | bug74183.phpt | 9 var_dump(preg_match($sRegex, $sTest)); 13 Warning: preg_match(): Compilation failed: regular expression is too large at offset %s in %s on li…
|
/php-src/Zend/tests/ |
H A D | frameless_bug_001.phpt | 10 return preg_match('foo', 'bar'); 19 Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL byte in %s on line %d
|
/php-src/ext/zlib/tests/ |
H A D | func.inc | 11 //if (preg_match(',zlib.*Compiled Version => (\d+\.\d+\.\d+),s', $info, $match)) { 13 …if (preg_match(',zlib(?!.*libXML).*Compiled Version (=> |</).*(\d+\.\d+\.\d+?),sU', $info, $match)…
|
/php-src/sapi/fuzzer/ |
H A D | generate_parser_corpus.php | 14 if (!preg_match('/\.phpt$/', $file)) continue; 16 if (!preg_match('/--FILE--\R(.*?)\R--([_A-Z]+)--/s', $code, $matches)) continue;
|
/php-src/ext/ftp/tests/ |
H A D | server.inc | 106 } else if (!preg_match('/^USER (\w+)\r\n$/', $buf, $m)) { 309 } elseif (preg_match('/^USER /', $buf)) { 403 }elseif (preg_match('/^PASV/', $buf, $matches)) { 433 } elseif (preg_match('/^EPSV/', $buf, $matches)) { 435 } elseif (preg_match('/^SITE EXEC/', $buf, $matches)) { 438 } elseif (preg_match('/^RMD/', $buf, $matches)) { 453 }elseif (preg_match('/^LIST www\//', $buf, $matches)) { 478 }elseif (preg_match('/^REST (\d+)/', $buf, $matches)) { 481 }elseif (preg_match('/^SIZE largefile/', $buf)) { 531 }elseif (preg_match('/^SIZE \/bug73457/', $buf)) { [all …]
|
/php-src/ext/mbstring/libmbfl/mbfl/ |
H A D | generate_name_perfect_hash_table.php | 7 preg_match($pattern, $file_content, $matches); 93 preg_match($pattern, $output, $matches); 101 preg_match($pattern, $output, $matches);
|