Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | more tsrm cleanup | Sascha Schumann | 2001-08-06 | 1 | -10/+9 |
| | |||||
* | Updated to match TSRM changes. | Andrei Zmievski | 2001-07-30 | 1 | -26/+9 |
| | |||||
* | Zend compatibility patch | Zeev Suraski | 2001-07-30 | 1 | -2/+2 |
| | |||||
* | Zend compatibility patch | Zeev Suraski | 2001-07-30 | 1 | -10/+0 |
| | |||||
* | Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on ↵ | Zeev Suraski | 2001-07-30 | 1 | -1/+1 |
| | | | | the way | ||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -3/+2 |
| | |||||
* | - Get rid of ELS_*(), and use TSRMLS_*() instead. | Zeev Suraski | 2001-07-27 | 1 | -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 Hirokawa | 2001-07-13 | 1 | -0/+1 |
| | |||||
* | Fix folding and clean up some extensions | Rasmus Lerdorf | 2001-06-06 | 1 | -1/+2 |
| | |||||
* | vim-6 does folding - clean up a bunch of missing folding tags plus | Rasmus Lerdorf | 2001-06-05 | 1 | -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 Bakken | 2001-05-24 | 1 | -0/+4 |
| | |||||
* | Properly free callback_name only when necessary. | Andrei Zmievski | 2001-05-20 | 1 | -8/+9 |
| | |||||
* | Revert previous commit - callback_name does need to be checked because | Andrei Zmievski | 2001-05-15 | 1 | -1/+2 |
| | | | | | it is set conditional on is_callable_replace. | ||||
* | No need for check since callback_name is always filled in. | Andrei Zmievski | 2001-05-14 | 1 | -2/+1 |
| | |||||
* | Fixed leak. | Wez Furlong | 2001-05-12 | 1 | -1/+3 |
| | |||||
* | @- Fixed a bug in preg_split() that would incorrectly limit the number of | Andrei Zmievski | 2001-05-04 | 1 | -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 pointer | Sascha Schumann | 2001-04-22 | 1 | -1/+1 |
| | |||||
* | @- Fixed a bug with /e modifier in preg_replace(), that would not correctly | Andrei Zmievski | 2001-04-16 | 1 | -21/+18 |
| | | | | | | @ replace two-digit references if single digit references were present @ before them. This fixed bug #10218. (Andrei) | ||||
* | Fixing compiler warning on win32 | Frank M. Kromann | 2001-03-13 | 1 | -1/+1 |
| | |||||
* | @- IMPORTANT: removed /F modifier handling from preg_replace(). Instead | Andrei Zmievski | 2001-03-13 | 1 | -42/+50 |
| | | | | | @ one should use new preg_replace_callback() function. (Andrei) | ||||
* | @- Added array_reduce(), which allows iterative reduction of an array | Andrei Zmievski | 2001-03-12 | 1 | -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 2001 | Andi Gutmans | 2001-02-26 | 1 | -1/+1 |
| | |||||
* | Move todo items. | Andrei Zmievski | 2001-02-08 | 1 | -6/+0 |
| | |||||
* | Adding delimiter capturing functionality. | Andrei Zmievski | 2001-02-03 | 1 | -14/+27 |
| | | | | | As far as NEWS, compilation fixed don't belong here. | ||||
* | No need for CLS_FETCH(). | Andrei Zmievski | 2001-02-01 | 1 | -1/+0 |
| | |||||
* | Fix broken ZTS build | Sascha Schumann | 2001-02-01 | 1 | -0/+1 |
| | |||||
* | Modified /F handling to allow calling object methods. | Andrei Zmievski | 2001-02-01 | 1 | -51/+49 |
| | |||||
* | If we can't call custom replacement function, don't change the subject | Andrei Zmievski | 2001-01-22 | 1 | -2/+2 |
| | | | | | string. | ||||
* | Don't need to check for out-of-memory condition. | Andrei Zmievski | 2001-01-22 | 1 | -6/+0 |
| | |||||
* | Z-ify the source. | Andrei Zmievski | 2001-01-22 | 1 | -69/+67 |
| | |||||
* | Fix argument check (bug #8421). | Andrei Zmievski | 2000-12-27 | 1 | -1/+1 |
| | |||||
* | (PHP preg_replace) Fix to allow proper escaping of captured subpattern | Andrei Zmievski | 2000-12-22 | 1 | -48/+66 |
| | | | | | | references in the replacement string. (PHP array_sum) Check that argument is an array. | ||||
* | Heads up people! | Zeev Suraski | 2000-12-22 | 1 | -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 flawed | Sascha Schumann | 2000-11-27 | 1 | -3/+1 |
| | |||||
* | Kill a warning (code is correct) | Sascha Schumann | 2000-11-27 | 1 | -0/+2 |
| | |||||
* | Fix the arg array size. | Andrei Zmievski | 2000-11-24 | 1 | -1/+1 |
| | |||||
* | This submission introduces two features. | Andrei Zmievski | 2000-11-23 | 1 | -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 addition | Andrei Zmievski | 2000-11-15 | 1 | -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 to | Andrei Zmievski | 2000-11-13 | 1 | -15/+24 |
| | | | | | @ non-existing subpatterns. (Andrei) | ||||
* | Fixed bug #6740. | Andrei Zmievski | 2000-09-14 | 1 | -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 the | Zeev Suraski | 2000-09-12 | 1 | -1/+5 |
| | | | | | nature and location of errors more accurately (Stas) | ||||
* | @- Fixed a bug in preg_replace() that would truncate subject string if the | Andrei Zmievski | 2000-08-25 | 1 | -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() when | Andrei Zmievski | 2000-08-24 | 1 | -3/+4 |
| | | | | | @ using /e modifier. (Andrei) | ||||
* | Reverting the pemalloc -> malloc change until we figure out why it breaks. | Andrei Zmievski | 2000-08-17 | 1 | -2/+2 |
| | |||||
* | No need to have persistent allocation. | Andrei Zmievski | 2000-08-17 | 1 | -2/+2 |
| | |||||
* | # There you go, Wico. | Andrei Zmievski | 2000-07-20 | 1 | -1/+5 |
| | | | | | | | Fix bug $5676. @- Fixed preg_replace() to automatically escape quotes in matched @ strings when using /e modifier. (Andrei) | ||||
* | Typo. | Andrei Zmievski | 2000-06-30 | 1 | -4/+4 |
| | |||||
* | @- Added an optional parameter to preg_replace() that can be used to | Andrei Zmievski | 2000-06-28 | 1 | -12/+24 |
| | | | | | @ specify how many replacements to make. (Andrei) | ||||
* | @- Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern | Andrei Zmievski | 2000-06-12 | 1 | -5/+5 |
| | | | | | @ matched an empty string. (Andrei) | ||||
* | One more place. | Andrei Zmievski | 2000-06-10 | 1 | -0/+1 |
| |