History log of /PHP-5.5/ext/pcre/php_pcre.c (Results 201 – 225 of 288)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d73ef124 12-Mar-2001 Andrei Zmievski

@- Added array_reduce(), which allows iterative reduction of an array
@ to a single value via a callback function. (Andrei)
- Added array_reduce(), which allows iterative reduction of an arr

@- Added array_reduce(), which allows iterative reduction of an array
@ 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.

show more ...


# eb6ba01d 26-Feb-2001 Andi Gutmans

- Fix copyright notices with 2001


# 51c535f5 08-Feb-2001 Andrei Zmievski

Move todo items.


# 56d3b036 03-Feb-2001 Andrei Zmievski

Adding delimiter capturing functionality.

As far as NEWS, compilation fixed don't belong here.


# 898baa8b 01-Feb-2001 Andrei Zmievski

No need for CLS_FETCH().


# 23ddeac9 01-Feb-2001 Sascha Schumann

Fix broken ZTS build


# 0651b4ff 01-Feb-2001 Andrei Zmievski

Modified /F handling to allow calling object methods.


# b56006b5 22-Jan-2001 Andrei Zmievski

If we can't call custom replacement function, don't change the subject
string.


# 5afcfc44 22-Jan-2001 Andrei Zmievski

Don't need to check for out-of-memory condition.


# 5068444d 22-Jan-2001 Andrei Zmievski

Z-ify the source.


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1
# 34f5c0c3 27-Dec-2000 Andrei Zmievski

Fix argument check (bug #8421).


# a1614b84 22-Dec-2000 Andrei Zmievski

(PHP preg_replace) Fix to allow proper escaping of captured subpattern
references in the replacement string.
(PHP array_sum) Check that argument is an array.


# aa6d2ac5 22-Dec-2000 Zeev Suraski

Heads up people!

Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...


Revision tags: php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4, php-4.0.4RC3
# 1626ba7e 27-Nov-2000 Sascha Schumann

Oh man, gcc's logic is really flawed


# 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.


12345678910>>...12