History log of /PHP-7.1/ext/pcre/php_pcre.c (Results 326 – 350 of 409)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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.


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)


1...<<11121314151617