summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
Commit message (Collapse)AuthorAgeFilesLines
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Fix a long-standing infelicity that resulted in extra regex informationAndrei Zmievski2002-02-121-8/+8
| | | | | not being passed to PCRE functions.
* Expose pcre_get_compiled_regex as an API function.Andrei Zmievski2002-02-121-5/+5
|
* - Fixed a bug with matching string containing null bytes.Andrei Zmievski2002-01-151-3/+6
|
* Fix a warning and remove a printf() that slipped in...Zeev Suraski2001-12-221-2/+1
|
* @- Added flags parameter to preg_grep(). The only flag currently isAndrei Zmievski2001-12-181-3/+17
| | | | | | @ PREG_GREP_INVERT that will make the function return entries that @ did not match. (Andrei)
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Fixed bug #13635.Andrei Zmievski2001-11-101-8/+18
|
* @- Fixed a bug in preg_replace() that would change the type of the replacementAndrei Zmievski2001-10-171-1/+3
| | | | | @ array entries to string. (Andrei)
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-7/+10
| | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig)
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* more tsrm cleanupSascha Schumann2001-08-061-10/+9
|
* Updated to match TSRM changes.Andrei Zmievski2001-07-301-26/+9
|
* Zend compatibility patchZeev Suraski2001-07-301-2/+2
|
* Zend compatibility patchZeev Suraski2001-07-301-10/+0
|
* Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵Zeev Suraski2001-07-301-1/+1
| | | | the way
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-3/+2
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-8/+9
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* added an option to support utf-8 in pcre.Rui Hirokawa2001-07-131-0/+1
|
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-1/+2
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-18/+25
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)Stig Bakken2001-05-241-0/+4
|
* Properly free callback_name only when necessary.Andrei Zmievski2001-05-201-8/+9
|
* Revert previous commit - callback_name does need to be checked becauseAndrei Zmievski2001-05-151-1/+2
| | | | | it is set conditional on is_callable_replace.
* No need for check since callback_name is always filled in.Andrei Zmievski2001-05-141-2/+1
|
* Fixed leak.Wez Furlong2001-05-121-1/+3
|
* @- Fixed a bug in preg_split() that would incorrectly limit the number ofAndrei Zmievski2001-05-041-5/+8
| | | | | | | | | @ results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei) - Fixed a bug in preg_split() that would incorrectly limit the number of results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei) - Also made limit = -1 when limit = 0, to emulate Perl.
* Fix freeing of a NULL pointerSascha Schumann2001-04-221-1/+1
|
* @- Fixed a bug with /e modifier in preg_replace(), that would not correctlyAndrei Zmievski2001-04-161-21/+18
| | | | | | @ replace two-digit references if single digit references were present @ before them. This fixed bug #10218. (Andrei)
* Fixing compiler warning on win32Frank M. Kromann2001-03-131-1/+1
|
* @- IMPORTANT: removed /F modifier handling from preg_replace(). InsteadAndrei Zmievski2001-03-131-42/+50
| | | | | @ 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-261-1/+1
|
* 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-011-51/+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-221-69/+67
|
* 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)
* - 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)