#20631 [NEW]: PCRE_CASELESS doesn't work
| From: | matt at zevi dot net | Date: | Mon, 25 Nov 2002 22:50:49 +0000 |
| Subject: | #20631 [NEW]: PCRE_CASELESS doesn't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25814@lists.php.net to get a copy of this message | ||
From: matt@zevi.net
Operating system: Linux 2.4.19
PHP version: 4.3.0RC1
PHP Bug Type: PCRE related
Bug description: PCRE_CASELESS doesn't work
preg_replace():
This regex was case insensitive in 4.2.3, but is case sensitive in
4.3.0RC1: '/\(name\)(?i)/'
Was not able to test further because I installed it on a production box,
and had to revert to 4.2.3...
I had the search and replace values in arrays which I then passed to
preg_replace(). This may have some effect on it. I didn't test just
passing a string.
Matt
--
Edit bug report at http://bugs.php.net/?id=20631&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20631&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20631&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20631&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20631&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20631&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20631&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20631&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20631&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20631&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20631&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20631&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20631&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20631&r=isapi