#48657 [NEW]: preg_quote now escapes "-", but doc was not updated accordingly

From: Date: Tue, 23 Jun 2009 09:01:14 +0000
Subject: #48657 [NEW]: preg_quote now escapes "-", but doc was not updated accordingly
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2393@lists.php.net to get a copy of this message
From: fabien dot potencier at symfony-project dot org Operating system: ALL PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: preg_quote now escapes "-", but doc was not updated accordingly Description: ------------ As of PHP 5.3.0RC4, preg_quote() now also escapes the '-' (minus) character (cf. http://bugs.php.net/bug.php?id=47229). The documentation should reflect this change. Expected result: ---------------- New sentence The special regular expression characters are: . \ + * ? [ ^ ] $ ( ) { } = ! < > | : - And perhaps adds somethings like this: The - character is only escaped since PHP 5.3. Actual result: -------------- Here is the current sentence: The special regular expression characters are: . \ + * ? [ ^ ] $ ( ) { } = ! < > | : -- Edit bug report at http://bugs.php.net/?id=48657&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48657&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48657&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48657&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48657&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48657&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48657&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48657&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48657&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48657&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48657&r=support Expected behavior: http://bugs.php.net/fix.php?id=48657&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48657&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48657&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48657&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48657&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48657&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48657&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48657&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48657&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48657&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48657&r=mysqlcfg

« previous php.doc.bugs (#2393) next »