#43355 [NEW]: [PCRE] descriptions for new escape sequences are missing
| From: | carsten_sttgt at gmx dot de | Date: | Wed, 21 Nov 2007 03:05:34 +0000 |
| Subject: | #43355 [NEW]: [PCRE] descriptions for new escape sequences are missing | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-220@lists.php.net to get a copy of this message | ||
From: carsten_sttgt at gmx dot de
Operating system: Irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: [PCRE] descriptions for new escape sequences are missing
Description:
------------
Since PHP 5.2.4, the PCRE library bundled with PHP, knows the escape
sequences \h, \H, \v, \V, \k and \K.
Please add also a note, that this new features can break existing
scripts.
Regards,
Carsten
Reproduce code:
---------------
http://de.php.net/manual/en/reference.pcre.pattern.syntax.php
Expected result:
----------------
\h, \H, \v, and \V match horizontal and vertical whitespace.
\k{name} is synonymous with \k<name> and \k'name'
\K resets the start of the current match so that everything before is not
part of it.
Actual result:
--------------
The \v escape that was in the Perl documentation for a long time was never
in fact recognized.
(nothing about \h, \H, \V, \k and \K)
--
Edit bug report at http://bugs.php.net/?id=43355&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43355&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43355&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43355&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43355&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43355&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43355&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43355&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43355&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43355&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43355&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43355&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43355&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43355&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43355&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43355&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43355&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43355&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43355&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43355&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43355&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43355&r=mysqlcfg