History log of /php-src/ext/pcre/php_pcre.c (Results 76 – 100 of 656)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3f769473 07-May-2020 Nikita Popov

Rename locale_string to ctype_string

To make it more obvious that this only refers to the LC_CTYPE
locale.

# 4fb705a0 14-Apr-2020 Nikita Popov

Add zend_string_concat2 API

# 21cfa03f 05-Apr-2020 Máté Kocsis

Generate function entries for another batch of extensions

Closes GH-5352

Revision tags: php-7.4.5RC1, php-7.3.17RC1
# 01b266aa 18-Mar-2020 Máté Kocsis

Improve error messages of various extensions

Closes GH-5278

Revision tags: php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28
# aa79a22d 17-Feb-2020 Nicolas Oelgart

Add preg_last_error_msg() function

Provides the last PCRE error as a human-readable message, similar
to functionality existing in other extensions, such as
json_last_error_msg().

Add preg_last_error_msg() function

Provides the last PCRE error as a human-readable message, similar
to functionality existing in other extensions, such as
json_last_error_msg().

Closes GH-5185.

show more ...

# 5cf9710b 11-Feb-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fixed bug #79257


# 3a515309 11-Feb-2020 Nikita Popov

Fixed bug #79257

Replace an existing entry for a given name only if we have a match.

# d2befbc1 07-Feb-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
PCRE: Only remember valid UTF-8 if start offset zero
PCRE: Check whether start offset is on char boundary


# cd5591a2 07-Feb-2020 Nikita Popov

PCRE: Only remember valid UTF-8 if start offset zero

PCRE only validates the string starting from the start offset
(minus maximum look-behind, but let's ignore that), so we can
only

PCRE: Only remember valid UTF-8 if start offset zero

PCRE only validates the string starting from the start offset
(minus maximum look-behind, but let's ignore that), so we can
only remember that the string is fully valid UTF-8 is the original
start offset is zero.

show more ...

# c9e78e6d 07-Feb-2020 Nikita Popov

PCRE: Check whether start offset is on char boundary

We need not just the whole string to be UTF-8, but the start
position to be on a character boundary as well. Check this by
lookin

PCRE: Check whether start offset is on char boundary

We need not just the whole string to be UTF-8, but the start
position to be on a character boundary as well. Check this by
looking for a continuation byte.

show more ...

# 06522419 05-Feb-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fixed bug #79188


# e30f52b9 05-Feb-2020 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fixed bug #79188


Revision tags: php-7.3.15RC1, php-7.4.3RC1
# 13bfa9f5 29-Jan-2020 Nikita Popov

Fixed bug #79188

Revision tags: php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1
# 9099dbd9 01-Jan-2020 Máté Kocsis

Use RETURN_THROWS() after zend_type_error()

Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0
# e7e15450 22-Nov-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #78853: preg_match() may return integer > 1


# cfb643ca 22-Nov-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78853: preg_match() may return integer > 1


# e1da72bd 22-Nov-2019 Christoph M. Becker

Fix #78853: preg_match() may return integer > 1

Commit 54ebebd[1] optimized the match loop, but for this case it has
been overlooked, that we must only loop if we're doing global matchin

Fix #78853: preg_match() may return integer > 1

Commit 54ebebd[1] optimized the match loop, but for this case it has
been overlooked, that we must only loop if we're doing global matching.

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

show more ...

Revision tags: php-7.2.25, php-7.3.12, php-7.4.0RC6
# ea6d22cf 07-Nov-2019 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix php_pcre_mutex_free()


# e19f0e86 07-Nov-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix php_pcre_mutex_free()


# 6dcc0b85 07-Nov-2019 Nikita Popov

Fix php_pcre_mutex_free()

We should only set the mutex to NULL if we actually freed it.
Due to missing braces non-main threads may currently set it to
NULL first.

Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4
# 571a3bfc 08-Oct-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 68b26ff8 08-Oct-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# 736af5f6 08-Oct-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


Revision tags: php-7.3.11RC1, php-7.2.24RC1
# a8f60ac9 08-Oct-2019 Sergei Turchanov

Add pcre_get_compiled_regex_cache_ex() with local_aware flag

A new function `pcre_get_compiled_regex_cache_ex()` is introduced,
which allows to compile regexp pattern using the "C" local

Add pcre_get_compiled_regex_cache_ex() with local_aware flag

A new function `pcre_get_compiled_regex_cache_ex()` is introduced,
which allows to compile regexp pattern using the "C" locale instead
of a current locale.

This will be needed to replace setlocale() usage in fileinfo,
which is not thread-safe.

show more ...

# 647b1c7f 07-Oct-2019 Nikita Popov

Remove most uses of ZEND_PARSE_PARAMETERS_END_EX()

As ZPP now throws, it makes no sense to specify an explicit return
value.

12345678910>>...27