Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 108) sorted by path

12345

/PHP-5.5/
H A DNEWS7832 - Fixed segfault in RegexIterator when given invalid regex. (Hannes)
/PHP-5.5/build/
H A Dlibtool.m42386 # 'file_magic [[regex]]' -- check by looking for files in library path
2387 # which responds to the $file_magic_cmd with a given extended regex.
/PHP-5.5/ext/ereg/
H A Dconfig.w327 …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 Dconfig0.m45 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 Dereg.c291 zval **regex, /* Regular expression */ in php_ereg() local
305 …if (zend_parse_parameters(argc TSRMLS_CC, "Zs|Z", &regex, &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()
H A Dregex.patch1 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.5/ext/ereg/regex/
H A DWHATSNEW50 into Makefile. Macro-ized the name of regex(7) in regex(3), since it has
65 thing is that regex.h is now generated, using mkh, rather than being
67 you have to build regex.h explicitly by "make h". The two known bugs
H A Dregex.dsp1 # 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 Dregex.dsw6 Project: "regex"=.\regex.dsp - Package Owner=<4>
H A Dregex.mak12 !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 …]
/PHP-5.5/ext/ereg/tests/
H A Dregular_expressions.inc5 * based on documentation on http://www.tin.org/bin/man.cgi?section=7&topic=regex .
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch1358 -#include <regex.h>
2179 - file_magerror(ms, "regex error %d, (%s)", rc, errmsg);
2970 - file_magerror(ms, "regex error %d, (%s)", rc, errmsg);
3384 - file_magerror(ms, "regex error %d, (%s)",
3434 + /* pce now contains the compiled regex */
H A Dmagicdata.patch24 -0 regex =^\\s*BEGIN\\s*[{] awk script text
25 +0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text
34 Subject: [PATCH] further optimize awk by not looking for the BEGIN regex until
49 -0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text
51 +>0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text
61 Subject: [PATCH] Limit regex search for BEGIN to the first 4K of the file.
76 ->0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text
77 +0 regex/4096 =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text
/PHP-5.5/ext/fileinfo/tests/
H A Dfinfo_file_regex.phpt2 Test finfo_file() function : regex rules
16 echo "*** Testing finfo_file() : regex rules ***\n";
26 *** Testing finfo_file() : regex rules ***
H A Dmagic1127 >3 regex =[a-z] rev.%s
9840 >>3 regex =\ [0-9]+ \b%s
9846 >>3 regex =\ [0-9]+ \b%s
9852 >>3 regex =\ [0-9]+ \b%s
9858 >>3 regex =\ [0-9]+ \b%s
15757 >&0 regex/1 \^.{40}
16167 >5 regex [0-9.]+ %s
16170 >5 regex [0-9.]+ %s
16173 >5 regex [0-9.]+ %s
16176 >5 regex [0-9.]+ %s
[all …]
/PHP-5.5/ext/filter/tests/
H A Dbug52929.phpt13 // the validation regex.
/PHP-5.5/ext/imap/
H A Dphp_imap.c1319 …char* regex = "/[0-3][0-9]-((Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec… in PHP_FUNCTION() local
1320 const int regex_len = strlen(regex); in PHP_FUNCTION()
1333 if ((pce = pcre_get_compiled_regex_cache(regex, regex_len TSRMLS_CC))== NULL) { in PHP_FUNCTION()
/PHP-5.5/ext/ldap/
H A DLDAP_Win32_HOWTO.txt17 Add '..\..\..\..\php5\regex' to the 'Additional include directories' list.
/PHP-5.5/ext/mbstring/
H A DREADME_PHP3-i18n-ja124 - multibyte regex
149 include multibyte regex library
198 o Multibyte regex library
200 From beta4, we have included the multibyte (mb) regex library which comes with
201 Ruby. With this addition, you can now use regex in EUC, SJIS and UTF-8
203 each function name has been changed. Therefore, mb regex functions are
205 encoding used in mb regex is configured in i18n.internal_encoding.
276 between these encodings on the fly. Also, the addition of the mb regex
394 - string manipulation and regex will malfunction
681 string_array = mbsplit(regex, string, limit)
[all …]
H A Dconfig.m474 AC_DEFINE([USE_COMBINATION_EXPLOSION_CHECK],1,[whether to check multibyte regex backtrack])
200 AC_DEFINE([HAVE_MBREGEX], 1, [whether to have multibyte regex support])
346 PHP_ARG_ENABLE([mbregex], [whether to enable multibyte regex support],
347 [ --disable-mbregex MBSTRING: Disable multibyte regex support], yes, no)
349 PHP_ARG_ENABLE([mbregex_backtrack], [whether to check multibyte regex backtrack],
351 MBSTRING: Disable multibyte regex backtrack check], yes, no)
H A Dconfig.w326 ARG_ENABLE("mbregex", "multibyte regex support", "no");
7 ARG_ENABLE("mbregex-backtrack", "check multibyte regex backtrack", "yes");
/PHP-5.5/ext/mbstring/oniguruma/
H A DHISTORY467 2006/03/01: [spec] rename regex object type from regex_t to OnigRegexType.
779 2004/12/01: [dist] remove regex.c from distribution files.
1037 2004/05/21: [impl] add regex status check to onig_match().
1266 2003/12/24: [test] success in regex.c compile test on ruby-m17n.
1541 2003/06/19: [inst] rename regex.h to oniguruma.h.
1631 2003/03/18: [dist] change re.c.XXX.patch for GNU regex API changes.
1837 2003/01/18: [impl] change REGION_NOTPOS to REG_REGION_NOTPOS in regex.h.
1915 same with GNU regex. (thanks Guy Decoux)
1929 (switch by UNALIGNED_WORD_ACCESS in regex.c)
1936 2002/03/19: [new] add REG_IS_PATTERN_ERROR(ecode) in regex.h
[all …]
H A DREADME132 oniggnu.h GNU regex API header file. (public)
133 reggnu.c GNU regex API functions
H A DREADME.ja138 oniggnu.h GNU regex API�إå� (����)
139 reggnu.c GNU regex API�ؿ�
/PHP-5.5/ext/mbstring/oniguruma/doc/
H A DAPI55 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 …]

Completed in 295 milliseconds

12345