/PHP-5.6/ext/ereg/regex/ |
H A D | regex.mak | 12 !MESSAGE NMAKE /f "regex.mak" CFG="regex - Win32 Release" 90 ALL : "$(OUTDIR)\regex.lib" "$(OUTDIR)\regex.bsc" 94 ALL : "$(OUTDIR)\regex.lib" "$(OUTDIR)\regex.bsc" 187 ".\regex.h"\ 201 ".\regex.h"\ 219 ".\regex.h"\ 230 ".\regex.h"\ 248 ".\regex.h"\ 261 ".\regex.h"\ 278 ".\regex.h"\ [all …]
|
H A D | regex.dsp | 1 # Microsoft Developer Studio Project File - Name="regex" - Package Owner=<4> 7 CFG=regex - Win32 Debug 11 !MESSAGE NMAKE /f "regex.mak". 16 !MESSAGE NMAKE /f "regex.mak" CFG="regex - Win32 Debug" 20 !MESSAGE "regex - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") 21 !MESSAGE "regex - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") 31 !IF "$(CFG)" == "regex - Win32 Release" 57 !ELSEIF "$(CFG)" == "regex - Win32 Debug" 87 # Name "regex - Win32 Release" 88 # Name "regex - Win32 Debug"
|
H A D | regex.dsw | 6 Project: "regex"=.\regex.dsp - Package Owner=<4>
|
/PHP-5.6/ext/ereg/ |
H A D | config0.m4 | 5 dnl Check for regex library type 7 PHP_ARG_WITH(regex,, 8 [ --with-regex=TYPE Regex library type: system, php. [TYPE=php] 24 AC_MSG_WARN([Invalid regex library type selected. Using default value: php]) 28 AC_MSG_CHECKING([which regex library to use]) 32 ereg_regex_sources="regex/regcomp.c regex/regexec.c regex/regerror.c regex/regfree.c" 33 ereg_regex_headers="regex/" 44 PHP_ADD_BUILD_DIR([$ext_builddir/regex], 1) 45 PHP_ADD_INCLUDE([$ext_srcdir/regex]) 51 #include <regex.h>], [regex_t rt; rt.re_magic;],
|
H A D | config.w32 | 7 …php_regexec -Dregerror=php_regerror -Dregfree=php_regfree -Dregcomp=php_regcomp -Iext/ereg/regex"); 8 ADD_SOURCES("ext/ereg/regex", "regcomp.c regexec.c regerror.c regfree.c", "ereg"); 9 AC_DEFINE('REGEX', 1, 'Bundled regex'); 10 AC_DEFINE('HSREGEX', 1, 'Bundled regex'); 11 PHP_INSTALL_HEADERS("ext/ereg", "php_ereg.h php_regex.h regex/");
|
H A D | regex.patch | 1 diff -u regex.orig/regerror.c regex/regerror.c 2 --- regex.orig/regerror.c 2011-08-09 19:49:30.000000000 +0800 3 +++ regex/regerror.c 2011-08-12 10:45:57.000000000 +0800 5 #include "regex.h" 61 diff -u regex.orig/regerror.ih regex/regerror.ih 62 --- regex.orig/regerror.ih 2011-08-09 19:49:00.000000000 +0800 63 +++ regex/regerror.ih 2011-08-09 19:41:07.000000000 +0800
|
/PHP-5.6/ext/pcre/tests/ |
H A D | null_bytes.phpt | 22 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 3 24 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 4 26 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 5 28 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 6 30 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 7 32 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 9 34 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 10 36 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 11 38 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 12 40 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 13 [all …]
|
H A D | pcre_count.phpt | 5 $regex = '/(([0-9a-z]+)-([0-9]+))-(([0-9]+)-([0-9]+))/'; 9 var_dump(preg_replace($regex, 'xxxx', $string, -1, $count)); 13 $regex = '/([a-z]+)/'; 16 var_dump(preg_replace($regex, 'xxxx', $string, -1, $count)); 20 $regex = '~((V(I|1)(4|A)GR(4|A))|(V(I|1)C(0|O)D(I|1)(N|\/\\\/)))~i'; 23 var_dump(preg_replace($regex, '...', $string, -1, $count)); 26 $regex = '~((V(I|1)(4|A)GR(4|A))|(V(I|1)C(0|O)D(I|1)(N|\/\\\/)))~i'; 29 var_dump(preg_replace($regex, '...', $string, -1));
|
H A D | bug47662.phpt | 6 $regex = '@'; 8 $regex .= '((?P<x'.$bar.'>))'; 10 $regex .= 'fo+bar@'; 12 var_dump(preg_match($regex, 'foobar'));
|
H A D | bug70345.phpt | 5 $regex = '/(?=xyz\K)/'; 8 $v = preg_split($regex, $subject); 11 $regex = '/(a(?=xyz\K))/'; 13 preg_match($regex, $subject, $matches);
|
H A D | marks.phpt | 12 $regex = <<<'REGEX' 21 var_dump(preg_match($regex, '_c_', $matches)); 24 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_PATTERN_ORDER)); 27 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_SET_ORDER)); 30 var_dump(preg_replace_callback($regex, function($matches) {
|
H A D | preg_grep_error.phpt | 6 * proto array preg_grep(string regex, array input [, int flags]) 15 $regex = '/\d/'; 19 var_dump(preg_grep($regex, $input, $flags, $extra_arg)); 22 $regex = 'string_val'; 23 var_dump(preg_grep($regex));
|
H A D | preg_replace_error.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 15 $regex = '/\w/'; 20 var_dump(preg_replace($regex, $replace, $subject, $limit, $count, $extra_arg)); 23 $regex = '/\w/'; 25 var_dump(preg_replace($regex, $replace));
|
H A D | preg_replace_callback_error.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 20 $regex = '/\d/'; 24 var_dump(preg_replace_callback($regex, 'integer_word', $subject, $limit, $count, $extra_arg)); 27 $regex = '/\d/'; 28 var_dump(preg_replace_callback($regex, 'integer word'));
|
H A D | preg_grep_error2.phpt | 6 * proto array preg_grep(string regex, array input [, int flags]) 14 $regex = '/[a-zA-Z]/'; 18 var_dump(preg_grep($regex, $value)); 21 var_dump(preg_grep($regex, $value));
|
H A D | preg_replace_error2.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 14 $regex = '/[a-zA-Z]/'; 19 var_dump(preg_replace($regex, $value, $subject)); 22 var_dump(preg_replace($regex, $value, $subject));
|
H A D | bug41050.phpt | 7 $regex = '/(insert|drop|create|select|delete|update)([^;\']*('."('[^']*')+".')?)*(;|$)/i'; 11 if (preg_match($regex,$sql, $m)) echo 'matched';
|
/PHP-5.6/ext/spl/examples/ |
H A D | keyfilter.inc | 25 private $regex; 33 * @param regex Regular expression used as a filter. 35 function __construct(Iterator $it, $regex) 38 $this->regex = $regex; 45 return ereg($this->regex, $this->getInnerIterator()->key()); 52 return $this->regex;
|
H A D | regexfindfile.inc | 25 * @param $regex perl style regular expression to find files with 27 function __construct($path, $regex) 29 parent::__construct($path, $regex);
|
/PHP-5.6/ext/spl/internal/ |
H A D | regexiterator.inc | 31 private $regex; /**< the regular expression to match against */ 45 * @param regex the regular expression to match 52 function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) { 54 $this->regex = $regex; 78 return preg_match($this->regex, $subject, $matches, $this->preg_flags); 82 return preg_match($this->regex, $subject, $this->current, $this->preg_flags) > 0; 86 return preg_match_all($this->regex, $subject, $this->current, $this->preg_flags) > 0; 90 preg_split($this->regex, $subject, $this->current, $this->preg_flags) > 1; 94 $result = preg_replace($this->regex, $this->replacement, $subject); 166 return $this->regex;
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_ereg_variation5.phpt | 2 Test mb_ereg() function : usage variations - Test anchors in regex 26 $regex = b'^.*?[[:blank:]]?[[:punct:][:digit:]]+\.?$'; 29 var_dump(mb_ereg($regex, $string_ascii)); 31 var_dump(mb_ereg($regex, $string_ascii, $regs_ascii)); 35 var_dump(mb_ereg($regex, $string_mb)); 37 var_dump(mb_ereg($regex, $string_mb, $regs_mb));
|
/PHP-5.6/ext/pcre/ |
H A D | php_pcre.h | 36 PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *rep… 37 PHPAPI pcre* pcre_get_compiled_regex(char *regex, pcre_extra **extra, int *options TSRMLS_DC); 38 PHPAPI pcre* pcre_get_compiled_regex_ex(char *regex, pcre_extra **extra, int *preg_options, int *co… 55 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_len TSRMLS_DC);
|
H A D | php_pcre.c | 305 p = regex; in pcre_get_compiled_regex_cache() 485 if (IS_INTERNED(regex)) { in pcre_get_compiled_regex_cache() 486 regex = tmp = estrndup(regex, regex_len); in pcre_get_compiled_regex_cache() 504 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex, strlen(regex) TSRMLS_CC); in pcre_get_compiled_regex() 521 pcre_cache_entry * pce = pcre_get_compiled_regex_cache(regex, strlen(regex) TSRMLS_CC); in pcre_get_compiled_regex_ex() 1396 Z_STRLEN_P(regex), in php_replace_in_subject() 1413 zval **regex, in preg_replace_impl() local 1452 SEPARATE_ZVAL(regex); in preg_replace_impl() 1978 ZEND_ARG_INFO(0, regex) 1986 ZEND_ARG_INFO(0, regex) [all …]
|
/PHP-5.6/ext/fileinfo/tests/ |
H A D | finfo_file_regex.phpt | 2 Test finfo_file() function : regex rules 16 echo "*** Testing finfo_file() : regex rules ***\n"; 26 *** Testing finfo_file() : regex rules ***
|
/PHP-5.6/ext/mbstring/oniguruma/doc/ |
H A D | API | 55 Create a regex object. 142 Create a regex object. 152 Create a regex object. 197 1 reg: regex object. 205 1 reg: regex object. 217 1 reg: regex object 241 1 reg: regex object 338 1 reg: regex object. 352 1 reg: regex object. 363 1 reg: regex object. [all …]
|