diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-06-12 15:09:49 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-06-12 15:09:49 +0000 |
commit | 78052f4783600603498ee63f4b580ca8f59024df (patch) | |
tree | 95ba7774c9ae8afc837bdfe7c501be83b494cc78 /doc | |
parent | a205b79603075d9a6ca1537cadbbbb161a8dc2fd (diff) | |
download | pcre-78052f4783600603498ee63f4b580ca8f59024df.tar.gz |
Document that isolated \Q continues till the end of the pattern.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@607 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pcrepattern.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/pcrepattern.3 b/doc/pcrepattern.3 index 737a95c..25af31f 100644 --- a/doc/pcrepattern.3 +++ b/doc/pcrepattern.3 @@ -220,7 +220,11 @@ Perl, $ and @ cause variable interpolation. Note the following examples: \eQabc\eE\e$\eQxyz\eE abc$xyz abc$xyz .sp The \eQ...\eE sequence is recognized both inside and outside character classes. -An isolated \eE that is not preceded by \eQ is ignored. +An isolated \eE that is not preceded by \eQ is ignored. If \eQ is not followed +by \eE later in the pattern, the literal interpretation continues to the end of +the pattern (that is, \eE is assumed at the end). If the isolated \eQ is inside +a character class, this causes an error, because the character class is not +terminated. . . .\" HTML <a name="digitsafterbackslash"></a> @@ -2748,6 +2752,6 @@ Cambridge CB2 3QH, England. .rs .sp .nf -Last updated: 21 November 2010 -Copyright (c) 1997-2010 University of Cambridge. +Last updated: 12 June 2011 +Copyright (c) 1997-2011 University of Cambridge. .fi |