#23946 [Ver]: [ep]reg_replace "z?$" with "a" in "xyz" yields "xyaa" instead of "xya"

2003-06-06 Thread stuge-phpbugs at cdy dot org
ID: 23946 User updated by: stuge-phpbugs at cdy dot org Reported By: stuge-phpbugs at cdy dot org Status: Verified Bug Type: *Regular Expressions Operating System: Linux PHP Version: 4.3.2 New Comment: Ok. This patch works in that it gives me the

#23946 [Ver]: [ep]reg_replace "z?$" with "a" in "xyz" yields "xyaa" instead of "xya"

2003-06-06 Thread stuge-phpbugs at cdy dot org
ID: 23946 User updated by: stuge-phpbugs at cdy dot org Reported By: stuge-phpbugs at cdy dot org Status: Verified Bug Type: *Regular Expressions Operating System: Linux PHP Version: 4.3.2 New Comment: $ echo xyz|perl -e 'while() { $_=~ s/

#23903 [Com]: preg_replace incorrect output with *

2003-06-06 Thread stuge-phpbugs at cdy dot org
ID: 23903 Comment by: stuge-phpbugs at cdy dot org Reported By: mnilsson at bowesnet dot com Status: Bogus Bug Type: PCRE related Operating System: linux 2.4.18 PHP Version: 4.3.2 New Comment: Compare #23946, which is a dupe. $ echo xyz

#23946 [NEW]: [ep]reg_replace "z?$" with "a" in "xyz" yields "xyaa" instead of "xya"

2003-06-02 Thread stuge-phpbugs at cdy dot org
From: stuge-phpbugs at cdy dot org Operating system: Linux PHP version: 4.3.1 PHP Bug Type: *Regular Expressions Bug description: [ep]reg_replace "z?$" with "a" in "xyz" yields "xyaa" instead of "xya" Verified with 4.3.0 an