Home
last modified time | relevance | path

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

/PHP-7.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"=>'/\[/'))));
24 Warning: filter_var(): 'regexp' option missing in %s on line %d
H A D033_run.inc26 …k=>$d) $result[$k] = filter_var($d,filter_id($filter),array("options"=>array("regexp"=>'/^O.*/')));
/PHP-7.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()
195 p = regexp + 2; in zend_accel_blacklist_update_regexp()
/PHP-7.3/ext/pcre/tests/
H A Dbug77193.phpt18 filter_var('http', FILTER_VALIDATE_REGEXP, ['options' => ['regexp' => '/^http$/i']]);
/PHP-7.3/ext/mbstring/tests/
H A Dbug72710.phpt2 Bug #72710 (`mb_ereg` causes buffer overflow on regexp compile error)
/PHP-7.3/ext/filter/
H A Dlogical_filters.c443 zend_string *regexp; in php_filter_validate_regexp() local
451 FETCH_STR_OPTION(regexp, "regexp"); in php_filter_validate_regexp()
458 re = pcre_get_compiled_regex(regexp, &capture_count, &preg_options); in php_filter_validate_regexp()
657 const char *regexp; in php_filter_validate_email() local
661 regexp = regexp0; in php_filter_validate_email()
664 regexp = regexp1; in php_filter_validate_email()
673 sregexp = zend_string_init(regexp, regexp_len, 0); in php_filter_validate_email()
/PHP-7.3/ext/mbstring/
H A Dphp_mbregex.c711 php_mb_regex_t *regexp, in mb_regex_substitute() argument
745 if (!onig_noname_group_capture_is_active(regexp)) { in mb_regex_substitute()
791 if (!onig_noname_group_capture_is_active(regexp)) { in mb_regex_substitute()
807 no = onig_name_to_backref_number(regexp, (OnigUChar *)name, (OnigUChar *)name_end, regs); in mb_regex_substitute()
/PHP-7.3/ext/ldap/tests/
H A DREADME103 authz-regexp
/PHP-7.3/ext/mbstring/oniguruma/doc/
H A DRE391 \n \k<n> \k'n' (n >= 1) backreference the nth group in the regexp
445 \g<0> \g'0' call zero (call the total regexp)
H A DCALLOUTS.API237 "Tag" is a name assigned to a callout in regexp pattern.
/PHP-7.3/ext/mbstring/oniguruma/
H A DREADME.md139 * NEW: call zero (call the total regexp) \g<0>
H A DHISTORY233 2016/10/10: fix memory leaks after parsing regexp error.
259 and too many captures in regexp.
/PHP-7.3/ext/zip/
H A Dphp_zip.c619 int php_zip_pcre(zend_string *regexp, char *path, int path_len, zval *return_value) /* {{{ */ in php_zip_pcre() argument
661 re = pcre_get_compiled_regex(regexp, &capture_count, &preg_options); in php_zip_pcre()
/PHP-7.3/build/
H A Dlibtool.m44602 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5357 # exclude_expsyms can be an extended regexp of symbols to exclude

Completed in 54 milliseconds