Doc #52066 [Asn->Csd]: lack of precision in section entitled 'back references'

From: Date: Wed, 18 Aug 2010 11:33:35 +0000
Subject: Doc #52066 [Asn->Csd]: lack of precision in section entitled 'back references'
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4880@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52066&edit=1 ID: 52066 Updated by: salathe@php.net Reported by: 3 dot grosz at gmail dot com Summary: lack of precision in section entitled 'back references' -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: salathe Block user comment: N 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: ------------------------------------------------------------------------ [2010-08-18 13:31:19] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=302431 Log: Mention "forward back reference" in PCRE syntax (doc bug #52066) ------------------------------------------------------------------------ [2010-06-12 16:47:58] 3 dot grosz at gmail dot com Description: ------------ PHP documentation entitled 'back references' states that: "In other words, the parentheses that are referenced need not be to the left of the reference for numbers less than 10." I think that this sentence in documentation is too short. I found excerpt in PCRE documentation (http://www.pcre.org/pcre.txt) that extends above sentence. "In other words, the parentheses that are referenced need not be to the left of the reference for numbers less than 10. A "forward back reference" of this type can make sense when a repetition is involved and the subpattern to the right has participated in an earlier iteration. It is not possible to have a numerical "forward back reference" to a subpattern whose number is 10 or more using this syntax because a sequence such as \50 is interpreted as a character defined in octal." In my opinion the extended sentence is better to understand. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52066&edit=1

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