Bug #53823 [Ana->Csd]: preg_replace: * qualifier on unicode replace garbles the string

From: Date: Tue, 23 Jun 2015 17:44:45 +0000
Subject: Bug #53823 [Ana->Csd]: preg_replace: * qualifier on unicode replace garbles the string
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193811@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53823&edit=1

 ID:                 53823
 Updated by:         cmb@php.net
 Reported by:        keith at chaos-realm dot net
 Summary:            preg_replace: * qualifier on unicode replace garbles
                     the string
-Status:             Analyzed
+Status:             Closed
 Type:               Bug
 Package:            PCRE related
 Operating System:   *
 PHP Version:        5.6.9
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=23e25f3319db021298310fb97cf537bcef4095ad
Log: Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the string)


Previous Comments:
------------------------------------------------------------------------
[2015-06-05 15:04:01] cmb@php.net

Related To: Bug #69672

------------------------------------------------------------------------
[2015-06-05 13:13:46] cmb@php.net

I've added a PR, that also solves #66121.

------------------------------------------------------------------------
[2015-06-05 12:15:00] cmb@php.net

Related To: Bug #66121

------------------------------------------------------------------------
[2015-06-05 12:03:28] cmb@php.net

Related to bug #27103.

------------------------------------------------------------------------
[2015-06-05 01:15:10] cmb@php.net

Confirmed: <http://3v4l.org/ueAJv>.

> The correct behavior is that when u modifier is used, the
> function should always advance by code unit (1 UTF character).

Exactly. Thanks for analyzing the issue. :)

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=53823


--
Edit this bug report at https://bugs.php.net/bug.php?id=53823&edit=1


Thread (12 messages)

« previous php.bugs (#193811) next »