#
aa6a62d9 |
| 27-Nov-2000 |
Sascha Schumann |
Kill a warning (code is correct) |
#
def5059f |
| 24-Nov-2000 |
Andrei Zmievski |
Fix the arg array size. |
#
0af5c36d |
| 23-Nov-2000 |
Andrei Zmievski |
This submission introduces two features. The first one is support for Perl-style matching regexp delimiters, i.e. using <[{( and )}]> to delimit the regular expressions. The sec
This submission introduces two features. 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)
show more ...
|
#
3625a729 |
| 15-Nov-2000 |
Andrei Zmievski |
- Modified preg_replace() to take Perl-style $1 backreferences in addition to \\n ones. - Modified preg_grep() to always return the results with the keys from the original array. |
#
46806870 |
| 13-Nov-2000 |
Andrei Zmievski |
@- Modified preg_replace() to ignore backreferences that refer to @ non-existing subpatterns. (Andrei) |
Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1 |
|
#
b111463f |
| 14-Sep-2000 |
Andrei Zmievski |
Fixed bug #6740. 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
Fixed bug #6740. 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.
show more ...
|
#
6c3d7449 |
| 12-Sep-2000 |
Zeev Suraski |
- Made eval() and several other runtime-evaluated code portions report the nature and location of errors more accurately (Stas) |
Revision tags: php-4.0.2 |
|
#
4df36948 |
| 25-Aug-2000 |
Andrei Zmievski |
@- Fixed a bug in preg_replace() that would truncate subject string if the @ first argument was en empty array. (Andrei) This fixes bug #6346, that would truncate subject string if the f
@- Fixed a bug in preg_replace() that would truncate subject string if the @ first argument was en empty array. (Andrei) This fixes bug #6346, that would truncate subject string if the first argument was en empty array.
show more ...
|
#
d7c43de3 |
| 24-Aug-2000 |
Andrei Zmievski |
@- Fixed a bug that did not respect limit parameter in preg_replace() when @ using /e modifier. (Andrei) |
Revision tags: PRE_LIBMYSQL_REVERT, php-4.0.2RC1 |
|
#
4f96d15f |
| 17-Aug-2000 |
Andrei Zmievski |
Reverting the pemalloc -> malloc change until we figure out why it breaks. |
#
ba0e3f21 |
| 17-Aug-2000 |
Andrei Zmievski |
No need to have persistent allocation. |
Revision tags: PRE_FILE_COMPILE_API_CHANGE |
|
#
9de5b9e0 |
| 20-Jul-2000 |
Andrei Zmievski |
# There you go, Wico. Fix bug $5676. @- Fixed preg_replace() to automatically escape quotes in matched @ strings when using /e modifier. (Andrei) |
Revision tags: PRE_METHOD_CALL_SEPERATE_FIX_PATCH |
|
#
1ca7f07d |
| 30-Jun-2000 |
Andrei Zmievski |
Typo. |
Revision tags: php-4.0.1pl1 |
|
#
29e8e565 |
| 28-Jun-2000 |
Andrei Zmievski |
@- Added an optional parameter to preg_replace() that can be used to @ specify how many replacements to make. (Andrei) |
Revision tags: php-4.0.1, php-4.0.1RC2, php-4.0.1RC |
|
#
7ef638aa |
| 12-Jun-2000 |
Andrei Zmievski |
@- Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern @ matched an empty string. (Andrei) |
#
f2019414 |
| 10-Jun-2000 |
Andrei Zmievski |
One more place. |
#
43793b94 |
| 10-Jun-2000 |
Andrei Zmievski |
Terminate the string with '\0'. |
Revision tags: PRE_EIGHT_BYTE_ALLOC_PATCH |
|
#
3701bc42 |
| 05-Jun-2000 |
Andi Gutmans |
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch |
#
1db5c7d1 |
| 01-Jun-2000 |
Andrei Zmievski |
@- Cleaned up PCRE extension and made it binary-safe. (Andrei) |
#
8a5bc5b6 |
| 25-May-2000 |
Andrei Zmievski |
Update proto. |
#
0a142bb9 |
| 25-May-2000 |
Andrei Zmievski |
@- Added second argument to preg_quote() which allows quoting of @ one additional character, usually the regex delimiter. (Andrei) |
#
4686a3b5 |
| 23-May-2000 |
Sascha Schumann |
Use #ifdef COMPILE_DL_EXTNAME solely. |
Revision tags: php-4.0.0 |
|
#
e043439f |
| 18-May-2000 |
Zeev Suraski |
Update the license with the new clause 6 |
Revision tags: php-4.0RC2 |
|
#
0060f956 |
| 06-May-2000 |
Andrei Zmievski |
Fixes for possible failure of zend_eval_string(). |
#
fe50664d |
| 02-May-2000 |
Sascha Schumann |
#if COMPILE_DL becomes #if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME) |