summaryrefslogtreecommitdiff
path: root/ext/pcre
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'PHP_4_0_5'.SVN Migration2001-03-131-62/+0
|
* @- IMPORTANT: removed /F modifier handling from preg_replace(). InsteadAndrei Zmievski2001-03-132-42/+51
| | | | | @ one should use new preg_replace_callback() function. (Andrei)
* @- Added array_reduce(), which allows iterative reduction of an arrayAndrei Zmievski2001-03-121-3/+6
| | | | | | | | @ to a single value via a callback function. (Andrei) - Added array_reduce(), which allows iterative reduction of an array to a single value via a callback function. - Fixed usage of zend_is_callable() in PCRE.
* - Fix copyright notices with 2001Andi Gutmans2001-02-262-2/+2
|
* Preprocessor stuff should go into CPPFLAGS.Sascha Schumann2001-02-212-2/+2
|
* Enable UTF8 support (incomplete) by default.Andrei Zmievski2001-02-202-0/+2
|
* Include PHP compatibility header file.Andrei Zmievski2001-02-201-0/+1
|
* Upgrade PCRE to version 3.4.Andrei Zmievski2001-02-2041-253/+2301
|
* Move todo items.Andrei Zmievski2001-02-081-6/+0
|
* Adding delimiter capturing functionality.Andrei Zmievski2001-02-031-14/+27
| | | | | As far as NEWS, compilation fixed don't belong here.
* No need for CLS_FETCH().Andrei Zmievski2001-02-011-1/+0
|
* Fix broken ZTS buildSascha Schumann2001-02-011-0/+1
|
* Modified /F handling to allow calling object methods.Andrei Zmievski2001-02-012-56/+49
|
* If we can't call custom replacement function, don't change the subjectAndrei Zmievski2001-01-221-2/+2
| | | | | string.
* Don't need to check for out-of-memory condition.Andrei Zmievski2001-01-221-6/+0
|
* Z-ify the source.Andrei Zmievski2001-01-222-71/+69
|
* Fix argument check (bug #8421).Andrei Zmievski2000-12-271-1/+1
|
* (PHP preg_replace) Fix to allow proper escaping of captured subpatternAndrei Zmievski2000-12-221-48/+66
| | | | | | references in the replacement string. (PHP array_sum) Check that argument is an array.
* Heads up people!Zeev Suraski2000-12-221-4/+2
| | | | | | Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
* Oh man, gcc's logic is really flawedSascha Schumann2000-11-271-3/+1
|
* Kill a warning (code is correct)Sascha Schumann2000-11-271-0/+2
|
* Fix the arg array size.Andrei Zmievski2000-11-241-1/+1
|
* This submission introduces two features.Andrei Zmievski2000-11-231-20/+101
| | | | | | | | | | | | | | | | | | | | The first one is support for Perl-style matching regexp delimiters, i.e. using <[{( and )}]> to delimit the regular expressions. The second one is a new 'F' modifier that allows you to specify a function name in the replacement argument to preg_replace(). This function will be called when the replacement needs to be made. It is passed an array of full matched pattern and captured subpatterns and it is expected to return a string that will be used for replacement. 'e' and 'F' modifiers cannot be used together. @- Implemented support for Perl-style matching regexp delimiters in PCRE. @ You can use <{[( and )]}> to delimit your expressions now. (Andrei) @- Introduced new 'F' modifier in PCRE that lets you specify a function @ name in the replacement argument to preg_replace() that will be called @ at run-time to provide the replacement string. It is passed an array of @ matched pattern and subpatterns. (Andrei)
* 2nd step towards auto-creditsHartmut Holzgraefe2000-11-201-0/+2
|
* - Modified preg_replace() to take Perl-style $1 backreferences in additionAndrei Zmievski2000-11-151-12/+24
| | | | | | | to \\n ones. - Modified preg_grep() to always return the results with the keys from the original array.
* @- Modified preg_replace() to ignore backreferences that refer toAndrei Zmievski2000-11-131-15/+24
| | | | | @ non-existing subpatterns. (Andrei)
* Fixed bug #6740.Andrei Zmievski2000-09-141-2/+8
| | | | | | | | | I happen to think that this is php_addslashes() problem, not PCRE's. When 0 is passed for the length of the string to php_addslashes() it assumes that we want to process the whole string and happily runs strlen() on it. That is bad. It should respect the length and return an empty string if it's 0.
* - Made eval() and several other runtime-evaluated code portions report theZeev Suraski2000-09-121-1/+5
| | | | | nature and location of errors more accurately (Stas)
* @- Fixed a bug in preg_replace() that would truncate subject string if theAndrei Zmievski2000-08-251-0/+1
| | | | | | | @ first argument was en empty array. (Andrei) This fixes bug #6346, that would truncate subject string if the first argument was en empty array.
* @- Fixed a bug that did not respect limit parameter in preg_replace() whenAndrei Zmievski2000-08-241-3/+4
| | | | | @ using /e modifier. (Andrei)
* Reverting the pemalloc -> malloc change until we figure out why it breaks.Andrei Zmievski2000-08-171-2/+2
|
* No need to have persistent allocation.Andrei Zmievski2000-08-171-2/+2
|
* # There you go, Wico.Andrei Zmievski2000-07-201-1/+5
| | | | | | | Fix bug $5676. @- Fixed preg_replace() to automatically escape quotes in matched @ strings when using /e modifier. (Andrei)
* Change header protection macros to conform to standard.Sascha Schumann2000-07-023-7/+7
| | | | | | | | | Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment" All identifiers that begin with an underscore and either an uppercase letter or another underscore are always reserved for any use by the implementation.
* Typo.Andrei Zmievski2000-06-301-4/+4
|
* @- Added an optional parameter to preg_replace() that can be used toAndrei Zmievski2000-06-282-13/+25
| | | | | @ specify how many replacements to make. (Andrei)
* @- Upgraded PCRE to version 3.2 and fixed a bug when anchored patternAndrei Zmievski2000-06-1215-184/+365
| | | | | @ matched an empty string. (Andrei)
* One more place.Andrei Zmievski2000-06-101-0/+1
|
* Terminate the string with '\0'.Andrei Zmievski2000-06-101-0/+1
|
* - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patchAndi Gutmans2000-06-051-7/+7
|
* Update header file.Andrei Zmievski2000-06-011-1/+4
|
* @- Cleaned up PCRE extension and made it binary-safe. (Andrei)Andrei Zmievski2000-06-011-88/+88
|
* Update proto.Andrei Zmievski2000-05-251-2/+2
|
* @- Added second argument to preg_quote() which allows quoting ofAndrei Zmievski2000-05-251-2/+19
| | | | | @ one additional character, usually the regex delimiter. (Andrei)
* Use #ifdef COMPILE_DL_EXTNAME solely.Sascha Schumann2000-05-231-1/+1
|
* Update the license with the new clause 6Zeev Suraski2000-05-182-4/+4
|
* Fixes for possible failure of zend_eval_string().Andrei Zmievski2000-05-061-1/+4
|
* Use the new AC_ADD_LIBRARY_WITH_PATH option shared-libaddSascha Schumann2000-05-022-10/+2
|
* #if COMPILE_DLSascha Schumann2000-05-021-1/+1
| | | | | | | becomes #if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
* Replace the various get_module() functions with a uniformSascha Schumann2000-05-021-1/+1
| | | | | ZEND_GET_MODULE(name) macro.