History log of /PHP-8.2/ext/pcre/php_pcre.c (Results 201 – 225 of 576)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1, php-5.6.17, php-5.5.31, php-7.0.2
# 49493a2d 01-Jan-2016 Lior Kaplan

Happy new year (Update copyright to 2016)


Revision tags: php-7.0.2RC1
# 817513af 21-Dec-2015 Xinchen Hui

Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set)


Revision tags: php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4
# 560e4fa3 29-Sep-2015 Dmitry Stogov

Removed or simplified incorrect SEPARATE_*() macros usage.


Revision tags: php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 03964892 29-Aug-2015 Stanislav Malyshev

Fix bug #70345 (Multiple vulnerabilities related to PCRE functions)


# 1553ce20 25-Aug-2015 Anatol Belski

add some range checks to pcre


Revision tags: php-5.6.13RC1, php-7.0.0RC1
# b9f23c21 13-Aug-2015 Christoph M. Becker

Fix #70232: Incorrect bump-along behavior with \K and empty string match

To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That

Fix #70232: Incorrect bump-along behavior with \K and empty string match

To do global matching (/g), for every empty match we have to do a second match
with PCRE_NOTEMPTY turned on. That may fail, however, when the \K escape
sequence is involved. For this purpose libpcre 8.0 introduced the
PCRE_NOTEMPTY_ATSTART flag, which we will use if available, and otherwise fall
back to the old (possibly buggy) behavior.

show more ...


Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# e6f55339 26-Jul-2015 Christoph M. Becker

add new error constant PREG_JIT_STACKLIMIT_ERROR


Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 4a2e40bb 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


# 4bd22cf1 29-Jun-2015 Dmitry Stogov

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>

Improved zend_string API (Francois Laupretre)

Squashed commit of the following:

commit d96eab8d79b75ac83d49d49ae4665f948d15a804
Author: Francois Laupretre <francois@tekwire.net>
Date: Fri Jun 26 01:23:31 2015 +0200

Use the new 'ZSTR' macros in the rest of the code.

Does not change anything to the generated code (thanks to compat macros) but cleaner.

commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8
Author: Francois Laupretre <francois@tekwire.net>
Date: Thu Jun 25 13:45:06 2015 +0200

Improve zend_string API

Add missing methods

show more ...


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42
# 23e25f33 05-Jun-2015 Christoph M. Becker

Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)

When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always hav

Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)

When advancing after empty matches, php_pcre_match_impl() as well as
php_pcre_replace_impl() always have to advance to the next code point when the
u modifier is given, instead of to the next byte.

show more ...


# a39beaa2 23-Jun-2015 Christoph M. Becker

Fixed bug #69864 (Segfault in preg_replace_callback)

When preg_replace_callback() is used, cache entries which are in use must not
be removed. We ensure that by deploying a simple refcou

Fixed bug #69864 (Segfault in preg_replace_callback)

When preg_replace_callback() is used, cache entries which are in use must not
be removed. We ensure that by deploying a simple refcounting mechanism.

show more ...


# 05c24d5d 19-Jun-2015 Xinchen Hui

Fixed Bug #69883 (Compilation failed on PCRE)


# 327e3b33 19-Jun-2015 Xinchen Hui

Micro optimizations for pcre


# 8c8ad8f4 17-Jun-2015 Dmitry Stogov

Use better hash functions (reuse key and avoid hash value recalculation)


Revision tags: POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# 6f335949 23-May-2015 Christoph M. Becker

changed preg_*() to yield NULL instead of '' for unset substrings


Revision tags: php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# 38d79e94 28-Apr-2015 Xinchen Hui

Drop unused num index


# 770cb1da 21-Apr-2015 Dmitry Stogov

Keep realpath and PCRE caches in consistency with opcache SHM.


# e44ccde3 16-Apr-2015 Dmitry Stogov

"C" is the default locale


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1
# 19360f38 23-Mar-2015 Anatol Belski

cleanup mod version macros, round 3


# a4529cc0 21-Mar-2015 Xinchen Hui

Fixed memleak


# 41802261 21-Mar-2015 Xinchen Hui

More error conditions


# 2f6dbfc2 21-Mar-2015 Xinchen Hui

Improved impelmentation(and cleanup behaviro with errors conditions)


# a43a9c91 20-Mar-2015 Anatol Belski

use correct api


# d146d150 19-Mar-2015 Dmitry Stogov

Optimize zend_string_realloc() add more specialized versions zend_string_extend() and zend_string_truncate()


Revision tags: php-5.6.7, php-5.5.23, php-5.4.39
# 25566c67 13-Mar-2015 Wei Dai

Implement preg_replace_callback_array function


12345678910>>...24