Revision: 445
http://vcs.pcre.org/viewvc?view=rev&revision=445
Author: ph10
Date: 2009-09-13 17:44:49 +0100 (Sun, 13 Sep 2009)
Log Message:
-----------
Documentation clarifications.
Modified Paths:
--------------
code/trunk/doc/pcregrep.1
code/trunk/doc/pcrepattern.3
Modified: code/trunk/doc/pcregrep.1
===================================================================
--- code/trunk/doc/pcregrep.1 2009-09-13 16:26:39 UTC (rev 444)
+++ code/trunk/doc/pcregrep.1 2009-09-13 16:44:49 UTC (rev 445)
@@ -67,7 +67,7 @@
above options is used.
.P
Patterns that can match an empty string are accepted, but empty string
-matches are not recognized. An example is the pattern "(super)?(man)?", in
+matches are never recognized. An example is the pattern "(super)?(man)?", in
which all components are optional. This pattern finds all occurrences of both
"super" and "man"; the output differs from matching with "super|man" when only
the matching substrings are being shown.
@@ -485,6 +485,6 @@
.rs
.sp
.nf
-Last updated: 12 August 2009
+Last updated: 13 September 2009
Copyright (c) 1997-2009 University of Cambridge.
.fi
Modified: code/trunk/doc/pcrepattern.3
===================================================================
--- code/trunk/doc/pcrepattern.3 2009-09-13 16:26:39 UTC (rev 444)
+++ code/trunk/doc/pcrepattern.3 2009-09-13 16:44:49 UTC (rev 445)
@@ -2135,6 +2135,11 @@
failing negative assertion, they cause an error if encountered by
\fBpcre_dfa_exec()\fP.
.P
+If any of these verbs are used in an assertion subpattern, their effect is
+confined to that subpattern; it does not extend to the surrounding pattern.
+Note that assertion subpatterns are processed as anchored at the point where
+they are tested.
+.P
The new verbs make use of what was previously invalid syntax: an opening
parenthesis followed by an asterisk. In Perl, they are generally of the form
(*VERB:ARG) but PCRE does not support the use of arguments, so its general
@@ -2254,6 +2259,6 @@
.rs
.sp
.nf
-Last updated: 11 April 2009
+Last updated: 13 September 2009
Copyright (c) 1997-2009 University of Cambridge.
.fi