summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-07-29 15:56:39 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-07-29 15:56:39 +0000
commitc07cf4806c88b0e11d678fd35977f4b3663b2295 (patch)
tree5705389d28b9cd7791e66e3a2487adda8859693e /doc
parent5eb8d51bae2ddf98313629134e88a389fe319605 (diff)
downloadpcre-c07cf4806c88b0e11d678fd35977f4b3663b2295.tar.gz
Allow all characters except closing parens in MARK:NAME etc.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@643 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc')
-rw-r--r--doc/pcrepattern.37
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/pcrepattern.3 b/doc/pcrepattern.3
index 1a5747a..f4c6cc3 100644
--- a/doc/pcrepattern.3
+++ b/doc/pcrepattern.3
@@ -1835,9 +1835,10 @@ numbering the capturing subpatterns in the whole pattern. However, substring
capturing is carried out only for positive assertions, because it does not make
sense for negative assertions.
.P
-For compatibility with Perl, assertion subpatterns may be repeated, even though
-it makes no sense to assert the same thing several times. In practice, there
-only three cases:
+For compatibility with Perl, assertion subpatterns may be repeated; though
+it makes no sense to assert the same thing several times, the side effect of
+capturing parentheses may occasionally be useful. In practice, there only three
+cases:
.sp
(1) If the quantifier is {0}, the assertion is never obeyed during matching.
However, it may contain internal capturing parenthesized groups that are called