/PHP-5.5/ext/pcre/tests/ |
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_match_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 18 var_dump(preg_match($regex, $value)); 21 var_dump(preg_match($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_all_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 16 var_dump(preg_match_all($regex, $value, $matches)); 21 var_dump(preg_match_all($regex, $value, $matches));
|
H A D | preg_match_all_error3.phpt | 13 $regex = '/[a-z]/'; 15 var_dump(preg_match_all($regex, $subject, 'test'));
|
H A D | preg_replace_variation1.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 10 * Testing preg_replace when the regex and the replacement are both arrays.
|
H A D | preg_replace_callback_error1.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 11 * Testing how preg_replace_callback reacts to being passed the wrong type of regex argument
|
H A D | cache_limit.phpt | 2 Compiled regex cache limit
|
H A D | preg_replace_error1.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 11 * Testing how preg_replace reacts to being passed the wrong type of regex argument
|
H A D | study.phpt | 2 Study regex
|
H A D | preg_grep_basic.phpt | 6 * proto array preg_grep(string regex, array input [, int flags]) 15 …example but the array created contains everything that is NOT matched but the regex (matches three)
|
/PHP-5.5/ext/spl/internal/ |
H A D | recursiveregexiterator.inc | 27 * @param regex the regular expression to match 34 function __construct(RecursiveIterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { 35 parent::__construct($it, $regex, $mode, $flags, $preg_flags);
|
/PHP-5.5/sapi/cli/tests/ |
H A D | 006.phpt | 80 Parameter #0 [ <required> $regex ] 90 Parameter #0 [ <required> $regex ] 100 Parameter #0 [ <required> $regex ] 126 Parameter #0 [ <required> $regex ]
|
/PHP-5.5/ext/spl/tests/ |
H A D | bug68128.phpt | 7 $regex = new RegexIterator($array, '/Array/'); 9 foreach ($regex as $match) {
|
H A D | regexiterator_getregex.phpt | 11 # Simple regex
|
/PHP-5.5/ext/spl/ |
H A D | spl_iterators.c | 1478 char *regex; in spl_dual_it_construct() local 1495 intern->u.regex.regex = estrndup(regex, regex_len); in spl_dual_it_construct() 2079 RETURN_STRINGL(intern->u.regex.regex, intern->u.regex.regex_len, 1); in SPL_METHOD() 2210 MAKE_STD_ZVAL(regex); in SPL_METHOD() 2216 ZVAL_STRING(regex, intern->u.regex.regex, 1); in SPL_METHOD() 2222 args[1] = ®ex; in SPL_METHOD() 2230 zval_ptr_dtor(®ex); in SPL_METHOD() 2309 if (object->u.regex.regex) { in spl_dual_it_free_storage() 2310 efree(object->u.regex.regex); in spl_dual_it_free_storage() 2411 ZEND_ARG_INFO(0, regex) [all …]
|
H A D | spl_iterators.h | 162 char *regex; member 164 } regex; member
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | empty_pattern.phpt | 16 Warning: mb_ereg_search_regs(): No regex given in %s on line %d
|
H A D | mb_ereg_variation7.phpt | 2 Test mb_ereg() function : usage variations - different regex features in $pattern 27 echo "Could not set regex encoding to utf-8\n";
|
H A D | mb_regex_encoding_basic.phpt | 11 * Description: Returns the current encoding for regex as a string.
|
H A D | mb_regex_encoding_error2.phpt | 11 * Description: Returns the current encoding for regex as a string.
|
/PHP-5.5/ext/ereg/ |
H A D | ereg.c | 291 zval **regex, /* Regular expression */ in php_ereg() local 305 …if (zend_parse_parameters(argc TSRMLS_CC, "Zs|Z", ®ex, &findin, &findin_len, &array) == FAILURE… in php_ereg() 318 if (Z_TYPE_PP(regex) == IS_STRING) { in php_ereg() 319 err = regcomp(&re, Z_STRVAL_PP(regex), REG_EXTENDED | copts); in php_ereg() 322 if (Z_TYPE_PP(regex) == IS_DOUBLE) { in php_ereg() 323 convert_to_long_ex(regex); /* get rid of decimal places */ in php_ereg() 325 convert_to_string_ex(regex); in php_ereg() 327 err = regcomp(&re, Z_STRVAL_PP(regex), copts); in php_ereg()
|
/PHP-5.5/ext/opcache/ |
H A D | config.w32 | 24 …php_regexec /Dregerror=php_regerror /Dregfree=php_regfree /Dregcomp=php_regcomp /Iext/ereg/regex");
|
/PHP-5.5/ext/filter/tests/ |
H A D | bug52929.phpt | 13 // the validation regex.
|
/PHP-5.5/ext/ereg/tests/ |
H A D | regular_expressions.inc | 5 * based on documentation on http://www.tin.org/bin/man.cgi?section=7&topic=regex .
|