Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 12 of 12) sorted by relevance

/PHP-8.3/ext/filter/tests/
H A D017.phpt8 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/.*/'))));
9 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^b(.*)/'))));
10 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^d(.*)/'))));
11 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/blah/'))));
12 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/\[/'))));
27 filter_var(): "regexp" option is missing
H A Dfilter_null_on_failure.phpt18 'regexp' => '/^valid$/'
H A D033_run.inc24 …k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("regexp"=>'/^O.*/')));
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_blacklist.c80 char regexp[12*1024], *p, *end, *c, *backtrack = NULL; in zend_accel_blacklist_update_regexp() local
90 regexp[0] = '^'; in zend_accel_blacklist_update_regexp()
91 regexp[1] = '('; in zend_accel_blacklist_update_regexp()
92 p = regexp + 2; in zend_accel_blacklist_update_regexp()
93 end = regexp + sizeof(regexp) - sizeof("[^\\\\]*)\0"); in zend_accel_blacklist_update_regexp()
181 …if ((it->re = pcre2_compile((PCRE2_SPTR)regexp, p - regexp, PCRE2_NO_AUTO_CAPTURE, &errnumber, &pc… in zend_accel_blacklist_update_regexp()
197 p = regexp + 2; in zend_accel_blacklist_update_regexp()
/PHP-8.3/ext/pcre/tests/
H A Dbug79846.phpt2 Bug #79846 (8c67c166996 broke simple regexp)
H A Dbug77193.phpt14 filter_var('http', FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => '/^http$/i']]);
/PHP-8.3/ext/mbstring/tests/
H A Dbug72710.phpt2 Bug #72710 (`mb_ereg` causes buffer overflow on regexp compile error)
/PHP-8.3/ext/filter/
H A Dlogical_filters.c475 zend_string *regexp; in php_filter_validate_regexp() local
483 FETCH_STR_OPTION(regexp, "regexp"); in php_filter_validate_regexp()
490 re = pcre_get_compiled_regex(regexp, &capture_count); in php_filter_validate_regexp()
689 const char *regexp; in php_filter_validate_email() local
693 regexp = regexp0; in php_filter_validate_email()
696 regexp = regexp1; in php_filter_validate_email()
705 sregexp = zend_string_init(regexp, regexp_len, 0); in php_filter_validate_email()
/PHP-8.3/ext/mbstring/
H A Dphp_mbregex.c712 php_mb_regex_t *regexp, in mb_regex_substitute() argument
746 if (!onig_noname_group_capture_is_active(regexp)) { in mb_regex_substitute()
793 if (!onig_noname_group_capture_is_active(regexp)) { in mb_regex_substitute()
809 no = onig_name_to_backref_number(regexp, (OnigUChar *)name, (OnigUChar *)name_end, regs); in mb_regex_substitute()
/PHP-8.3/ext/ldap/tests/
H A DREADME.md116 authz-regexp
/PHP-8.3/ext/zip/
H A Dphp_zip.c723 int php_zip_pcre(zend_string *regexp, char *path, int path_len, zval *return_value) /* {{{ */ in php_zip_pcre() argument
762 re = pcre_get_compiled_regex(regexp, &capture_count); in php_zip_pcre()
/PHP-8.3/build/
H A Dlibtool.m44611 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5366 # exclude_expsyms can be an extended regexp of symbols to exclude

Completed in 51 milliseconds