Home
last modified time | relevance | path

Searched refs:preg_match (Results 26 – 50 of 172) sorted by relevance

1234567

/php-src/ext/pcre/tests/
H A Dcache_limit.phpt16 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 Dbug78853.phpt2 Bug #78853 (preg_match() may return integer > 1)
5 var_dump(preg_match('/^|\d{1,2}$/', "7"));
H A Dinvalid_utf8_offset.phpt5 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 Dbug74873.phpt2 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 Dlocales.phpt15 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 Dbug77827.phpt2 Bug #77827 (preg_match does not ignore \r in regex flags)
6 preg_match("/foo/i\r", 'FOO'),
H A Dpreg_match_basic_002.phpt2 preg_match() single line match with multi-line input
6 preg_match("/M(.*)/", $string, $matches);
H A Dbug52732.phpt2 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 Dbug72688.phpt2 Bug #72688 (preg_match missing group names in matches)
12 preg_match($fullPattern, '290', $matches);
H A Dbug75457.phpt6 var_dump(preg_match($pattern, "hello"));
9 Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %s…
H A Dno_jit_bug70110.phpt8 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 Dpreg_match_error3.phpt2 Test preg_match() function : error conditions - jit stacklimit exhausted
13 var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));
H A Derrors05.phpt2 Test preg_match() function : error conditions - jit stacklimit exhausted
13 var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));
H A Derrors06.phpt2 Test preg_match() function : error conditions - Malformed UTF-8 offset
5 preg_match('/a/u', "\xE3\x82\xA2", $m, 0, 1);
H A Dbug76850.phpt2 Bug #76850 Exit code mangled by set locale/preg_match
21 var_dump(preg_match('/./', "a"));
H A Dbug70345.phpt12 preg_match($regex, $subject, $matches);
19 Warning: preg_match(): Get subpatterns list failed in %s on line %d
H A Dbug81101.phpt9 preg_match('/\\\\([^\\\\]+)\s*$/', $test, $matches);
14 preg_match('/\\\\([^\\\\]+)\s*$/', $test2, $matches);
H A Dbug75207.phpt5 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 Dpreg_match_variation1.phpt2 Test preg_match() function : variation
10 preg_match('/[\-\+]?[0-9\.]*/', $string, $string);
H A Dbug74183.phpt9 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 Dframeless_bug_001.phpt10 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 Dfunc.inc11 //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 Dgenerate_parser_corpus.php14 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 Dserver.inc106 } 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 Dgenerate_name_perfect_hash_table.php7 preg_match($pattern, $file_content, $matches);
93 preg_match($pattern, $output, $matches);
101 preg_match($pattern, $output, $matches);

Completed in 50 milliseconds

1234567