#43355 [Opn->Csd]: [PCRE] descriptions for new escape sequences are missing

From: Date: Wed, 21 Nov 2007 11:31:57 +0000
Subject: #43355 [Opn->Csd]: [PCRE] descriptions for new escape sequences are missing
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-223@lists.php.net to get a copy of this message
ID: 43355 Updated by: vrana@php.net Reported By: carsten_sttgt at gmx dot de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2007-11-21 03:05:33] carsten_sttgt at gmx dot de 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 this bug report at http://bugs.php.net/?id=43355&edit=1

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