History log of /PHP-7.4/ext/mbstring/php_mbregex.c (Results 26 – 50 of 195)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...


# 41a6625c 06-Jul-2018 Nikita Popov

Add UPGRADING for mb_ereg changes

Also some minor code cleanup.


Revision tags: php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 8f178267 30-Jul-2016 ju1ius

adds support for named subpatterns to `mb_ereg_replace`

Named subpatterns are now passed to `mb_ereg_replace_callback`.

This commit also adds a subset of the oniguruma back-referenc

adds support for named subpatterns to `mb_ereg_replace`

Named subpatterns are now passed to `mb_ereg_replace_callback`.

This commit also adds a subset of the oniguruma back-reference syntax
for replacements:
* `\k<name>` and `\k'name'` for named subpatterns.
* `\k<n>` and `\k'n'` for numbered subpatterns
These last two notations allow referencing numbered groups where n > 9.

show more ...


# 212f56b7 29-Jul-2016 ju1ius

adds support for named captures to mb_ereg & mb_ereg_search

`mb_ereg`, `mb_ereg_search_regs` & `mb_ereg_search_getregs`
returned only numbered capturing groups.
Now they return both

adds support for named captures to mb_ereg & mb_ereg_search

`mb_ereg`, `mb_ereg_search_regs` & `mb_ereg_search_getregs`
returned only numbered capturing groups.
Now they return both numbered and named capturing groups.
Fixes Bug #72704.

show more ...


# 265c3ed6 05-Jul-2018 Dmitry Stogov

Fixed incorrrecr zval_dtor() usage to replace value of argument passed by reference, that may lead to memory leaks.


# 4a475a49 04-Jul-2018 Dmitry Stogov

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occur

Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.

show more ...


# e357f67f 20-Jun-2018 Nikita Popov

Remove code duplication

And fix indentation


# f9cfc029 20-Mar-2018 Anatol Belski

Rework datatypes wrt warnings


# 4072b278 20-Mar-2018 Christoph M. Becker

Fix #76113: mbstring does not build with Oniguruma 6.8.1

As of Oniguruma 6.8.1, the regex structure has been moved from the
public `oniguruma.h` to the private `regint.h`. Thus, it is n

Fix #76113: mbstring does not build with Oniguruma 6.8.1

As of Oniguruma 6.8.1, the regex structure has been moved from the
public `oniguruma.h` to the private `regint.h`. Thus, it is no longer
possible to directly access the struct's members, and actually, there
is no need to, since there are respective accessor functions available
at least of 2.3.1.

show more ...


# 64002648 31-Dec-2017 Gabriel Caruso

Trailing whitespaces

Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>


# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 9e709e2f 14-Dec-2017 Dmitry Stogov

Move constants into read-only data segment


# ed5b4d5c 31-Oct-2017 Dmitry Stogov

Use Zend MM heap


# 932c4b35 16-Mar-2017 Thomas Punt

Remove more unnecessary checks on Zend's allocator functions


# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 6a43c61b 09-Dec-2016 Xinchen Hui

Fixed bug #73646 (mb_ereg_search_init null pointer dereference)


# 229024c7 16-Nov-2016 Xinchen Hui

Fixed bug #73532 (Null pointer dereference in mb_eregi)


# b7259b71 04-Sep-2016 Christoph M. Becker

Fix #72994: mbc_to_code() out of bounds read

We're backporting commit 999a3553 to the still supported PHP 5.6.


# 03d03243 30-Jul-2016 ju1ius

Fix #72711: `mb_ereg` does not clear the `$regs` parameter on failure

When `mb_ereg` failed to match, it didn't update the `$regs` argument.
Now it will always set it to the empty array.


# 1d32b809 30-Jul-2016 ju1ius

fixes bad address given to onig_error_code_to_str

Closes bug #72710

(cherry picked from commit 0fb7eb6723bcc6fd98053911543e801edb5ab763)


# ee6900c3 28-Jul-2016 Christoph M. Becker

Fix #72694: mb_ereg_search_setpos does not accept a string's last position

Setting the search position immediately behind the last character should be
allowed, so we fix this off-by-one

Fix #72694: mb_ereg_search_setpos does not accept a string's last position

Setting the search position immediately behind the last character should be
allowed, so we fix this off-by-one error.

show more ...


12345678