summaryrefslogtreecommitdiff
path: root/doc/pcretest.txt
diff options
context:
space:
mode:
authornigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-02-24 21:39:29 +0000
committernigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-02-24 21:39:29 +0000
commitb82aaed025b2fb55a381b51a3cf13a06c2e8ceff (patch)
tree34837270c9c014af7709a8bff05b8d097fa58f7e /doc/pcretest.txt
parent88a7c5f66e21a48da1bfc24248379d0e462fd408 (diff)
downloadpcre-b82aaed025b2fb55a381b51a3cf13a06c2e8ceff.tar.gz
Load pcre-3.2 into code/trunk.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@47 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc/pcretest.txt')
-rw-r--r--doc/pcretest.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/pcretest.txt b/doc/pcretest.txt
index 831fdac..0e6783a 100644
--- a/doc/pcretest.txt
+++ b/doc/pcretest.txt
@@ -63,10 +63,11 @@ to the matching process if the pattern begins with a lookbehind assertion
(including \b or \B).
If any call to pcre_exec() in a /g or /G sequence matches an empty string, the
-next call is done with the PCRE_NOTEMPTY flag set so that it cannot match an
-empty string again at the same point. If however, this second match fails, the
-start offset is advanced by one, and the match is retried. This imitates the
-way Perl handles such cases when using the /g modifier or the split() function.
+next call is done with the PCRE_NOTEMPTY and PCRE_ANCHORED flags set in order
+to search for another, non-empty, match at the same point. If this second match
+fails, the start offset is advanced by one, and the normal match is retried.
+This imitates the way Perl handles such cases when using the /g modifier or the
+split() function.
There are a number of other modifiers for controlling the way pcretest
operates.