Home
last modified time | relevance | path

Searched refs:regex (Results 26 – 50 of 67) sorted by relevance

123

/PHP-8.2/ext/mbstring/tests/
H A Dmb_ereg_variation7.phpt2 Test mb_ereg() function : usage variations - different regex features in $pattern
23 echo "Could not set regex encoding to utf-8\n";
H A Dmb_ereg_replace_basic.phpt32 $regex1 = base64_decode('KOaXpeacrOiqnikuKj8oWzEtOV0rKQ=='); //Japanese regex in UTF-8
H A Dmb_ereg_basic.phpt20 echo "Could not set regex encoding to utf-8\n";
/PHP-8.2/ext/pcre/tests/
H A Dcache_limit.phpt2 Compiled regex cache limit
H A Dstudy.phpt2 Study regex
H A Dpreg_replace_variation1.phpt9 * Testing preg_replace when the regex and the replacement are both arrays.
H A Dpreg_match_error4.phpt912 throw new \RuntimeException('Failed to execute regex: PREG_NO_ERROR', PREG_NO_ERROR);
914 … throw new \RuntimeException('Failed to execute regex: PREG_INTERNAL_ERROR', PREG_INTERNAL_ERROR);
916 …throw new \RuntimeException('Failed to execute regex: PREG_BACKTRACK_LIMIT_ERROR', PREG_BACKTRACK_…
918 …throw new \RuntimeException('Failed to execute regex: PREG_RECURSION_LIMIT_ERROR', PREG_RECURSION_…
920 … throw new \RuntimeException('Failed to execute regex: PREG_BAD_UTF8_ERROR', PREG_BAD_UTF8_ERROR);
922 …throw new \RuntimeException('Failed to execute regex: PREG_BAD_UTF8_OFFSET_ERROR', PREG_BAD_UTF8_O…
924 …throw new \RuntimeException('Failed to execute regex: PREG_JIT_STACKLIMIT_ERROR', PREG_JIT_STACKLI…
926 throw new \RuntimeException('Failed to execute regex: Unknown error');
H A Dpreg_replace_callback_error1.phpt9 * Testing how preg_replace_callback reacts to being passed the wrong type of regex argument
H A Dpreg_replace_error1.phpt9 * Testing how preg_replace reacts to being passed the wrong type of regex argument
H A Dpreg_grep_basic.phpt14 …example but the array created contains everything that is NOT matched but the regex (matches three)
H A Dpreg_match_error1.phpt7 * Testing how preg_match reacts to being passed the wrong type of regex argument
H A Dpreg_split_error1.phpt9 * Testing how preg_split reacts to being passed the wrong type of regex argument
H A Dpreg_match_all_error1.phpt9 * Testing how preg_match_all reacts to being passed the wrong type of regex argument
/PHP-8.2/ext/filter/tests/
H A Dbug52929.phpt13 // the validation regex.
/PHP-8.2/ext/zip/tests/
H A Dbug76524.phpt18 so the regex is used to check that Zend MM does NOT show warnings
/PHP-8.2/ext/spl/tests/
H A Dregexiterator_getregex.phpt11 # Simple regex
/PHP-8.2/ext/phar/tests/
H A Dphar_buildfromdirectory6.phpt2 Phar::buildFromDirectory() with non-matching regex
H A Dphar_buildfromdirectory5.phpt2 Phar::buildFromDirectory() with matching regex
/PHP-8.2/win32/
H A Dsendmail.c129 zend_string *regex; in php_win32_mail_trim_header() local
136 regex = zend_string_init(PHP_WIN32_MAIL_UNIFY_PATTERN, sizeof(PHP_WIN32_MAIL_UNIFY_PATTERN)-1, 0); in php_win32_mail_trim_header()
138 result = php_pcre_replace(regex, in php_win32_mail_trim_header()
145 zend_string_release_ex(regex, 0); in php_win32_mail_trim_header()
152regex = zend_string_init(PHP_WIN32_MAIL_RMVDBL_PATTERN, sizeof(PHP_WIN32_MAIL_RMVDBL_PATTERN)-1, 0… in php_win32_mail_trim_header()
154 result2 = php_pcre_replace(regex, in php_win32_mail_trim_header()
160 zend_string_release_ex(regex, 0); in php_win32_mail_trim_header()
/PHP-8.2/ext/pgsql/tests/
H A Dbug77047.phpt2 Bug #77047 pg_insert has a broken regex for the 'TIME WITHOUT TIMEZONE' data type
H A Dbug71998.phpt9 // Kudos for the IP regex to
/PHP-8.2/ext/mbstring/
H A Dconfig.m476 AC_DEFINE([HAVE_MBREGEX], 1, [whether to have multibyte regex support])
166 [whether to enable multibyte regex support (requires oniguruma)],
168 [MBSTRING: Disable multibyte regex support])],
/PHP-8.2/ext/standard/
H A Dbrowscap.c549 zend_string *pattern_lc, *regex; in browser_reg_compare()
597 regex = browscap_convert_pattern(entry->pattern, 0); in browser_reg_compare()
598 re = pcre_get_compiled_regex(regex, &capture_count); in browser_reg_compare()
601 zend_string_release(regex); in browser_reg_compare()
608 zend_string_release(regex); in browser_reg_compare()
657 zend_string_release(regex); in browser_reg_compare()
/PHP-8.2/ext/phar/phar/
H A Dpharcommand.inc98 'typ' => 'regex',
100 'inf' => '<regex> Specifies a regular expression for input files.'
135 'typ' => 'regex',
579 $regex = $this->args['i']['val'];
635 * @param string $regex The regex used in RegexIterator.
649 if (isset($regex)) {
650 $dir = new RegexIterator($dir, $regex);
736 $regex = $this->args['i']['val'];
739 if (isset($regex)) {
740 $dir = new RegexIterator($dir, $regex);
[all …]
/PHP-8.2/scripts/dev/
H A Dcheck_parameters.php193 $regex = '/
201 if (preg_match_all($regex, $txt, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {

Completed in 67 milliseconds

123