History log of /PHP-7.4/ext/pcre/php_pcre.c (Results 51 – 75 of 516)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1820f2f2 18-Jul-2018 Dmitry Stogov

Reorder conditions


# 29f942b3 18-Jul-2018 Dmitry Stogov

Move "/e" modifier check into regex compiler


# 5d606511 18-Jul-2018 Dmitry Stogov

Merge "no_utf_check" and "g_notempty" into single "options".


# 81eb8e75 11-Jul-2018 Anatol Belski

Mark conditions unexpected


# 0630e3bc 05-Jul-2018 Anatol Belski

Reduce error buffer size

120 bytes is ample, the doc says.


# ff8f2710 29-Jun-2018 Anatol Belski

Check return value of pcre2_maketables()


# aa92d420 22-Jun-2018 Anatol Belski

If there's no setlocale, char tables are not used


# 8b58b2aa 22-Jun-2018 Anatol Belski

Don't discard char tables just generated


# 684ce24e 22-Jun-2018 Anatol Belski

Improve locale character tables handling and reduce pattern cache size

If a locale other than C is active, character tables are saved into the
compile context. Every compiled pattern wil

Improve locale character tables handling and reduce pattern cache size

If a locale other than C is active, character tables are saved into the
compile context. Every compiled pattern will have a pointer to the
character table, that was present in the context at the time of the
pattern compilation. Thus, the cache entries don't need to carry char
tables pointer, which reduces their size to 8 bytes on 64-bit. Instead,
the generated character tables are tracked in a separate HashTable. If a
character table was generated before, it'll be assigned to the compile
context when the locale changes. Otherwise a new char table will be
generated and cached.

show more ...


# bb2f1a68 22-Jun-2018 Anatol Belski

Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR

Looks like some patterns might require more stack for JIT execution. It
is a regression, as the sam

Fixed bug #76514 Regression in preg_match makes it fail with PREG_JIT_STACKLIMIT_ERROR

Looks like some patterns might require more stack for JIT execution. It
is a regression, as the same pattern was passing using JIT.

show more ...


# 71d16fee 21-Jun-2018 Christoph M. Becker

Fix #76512: \w no longer includes unicode characters

The migration from PCRE to PCRE2 missed to rename once occurrence of
`PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the cha

Fix #76512: \w no longer includes unicode characters

The migration from PCRE to PCRE2 missed to rename once occurrence of
`PCRE_UCP` to `PCRE2_UCP`. We fix that. We also revert the changes to
bug52971.phpt which had been incorrectly made in commit a5bc5ae[1].

[1] <http://git.php.net/?p=php-src.git;a=commit;h=a5bc5aed71f7a15f14f33bb31b8e17bf5f327e2d>

show more ...


Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28
# 28132878 16-Feb-2018 Anatol Belski

Reduce var scope


Revision tags: php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1
# cfee6828 09-Jan-2018 Dmitry Stogov

Fixed possible incorrect "mark" usage


Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 856ad54f 27-Dec-2017 Dmitry Stogov

Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# 84235344 10-Oct-2017 Michael Moravec

Fixed bug #75355: preg_quote() does not quote # control character


# 1b29dc0b 06-Dec-2017 Anatol Belski

Fix yet one data race in PCRE

PCRE 8.x initializes the pattern compiler on demand during the first
pcre_study call. It could be worse, but since the compiled patterns are
cached, the

Fix yet one data race in PCRE

PCRE 8.x initializes the pattern compiler on demand during the first
pcre_study call. It could be worse, but since the compiled patterns are
cached, the locking impact is minimal. PCRE 10.x always compiles the
pattern and thread sanitizer doesn't complain about the compiler
initialization, thus the newer PCRE version seems to be unafected.

show more ...


# 092fd444 05-Dec-2017 Anatol Belski

Fix use after free revealed by phpdbg


# 9cca85ff 05-Dec-2017 Anatol Belski

Fixed bug #75601 Thread race in PCRE JIT support


# 75a2ee7f 05-Dec-2017 Anatol Belski

Fixed bug #75601 Thread race in PCRE JIT support


# 31b2b14a 05-Dec-2017 Anatol Belski

Fixed bug #75601 Thread race in PCRE JIT support


# c029bd33 21-Nov-2017 Anatol Belski

Fix macro name


12345678910>>...21