svn: /phpdoc/en/trunk/reference/pcre/ pattern.syntax.xml
| From: | Peter Cowburn | Date: | Wed, 18 Aug 2010 11:31:17 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/pcre/ pattern.syntax.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7007@lists.php.net to get a copy of this message | ||
salathe Wed, 18 Aug 2010 11:31:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=302431
Log:
Mention "forward back reference" in PCRE syntax (doc bug #52066)
Bug: http://bugs.php.net/52066 (Assigned) lack of precision
in section entitled 'back references'
Changed paths:
U phpdoc/en/trunk/reference/pcre/pattern.syntax.xml
Modified: phpdoc/en/trunk/reference/pcre/pattern.syntax.xml
===================================================================
--- phpdoc/en/trunk/reference/pcre/pattern.syntax.xml 2010-08-18 11:14:33 UTC (rev 302430)
+++ phpdoc/en/trunk/reference/pcre/pattern.syntax.xml 2010-08-18 11:31:17 UTC (rev 302431)
@@ -1520,7 +1520,10 @@
causes an error only if there are not that many capturing
left parentheses in the entire pattern. In other words, the
parentheses that are referenced need not be to the left of
- the reference for numbers less than 10. See the section
+ the reference for numbers less than 10.
+ A "forward back reference" can make sense when a repetition
+ is involved and the subpattern to the right has participated
+ in an earlier iteration. See the section
entitled "Backslash" above for further details of the handling
of digits following a backslash.
</para>