[Pcre-svn] [607] code/trunk/doc/pcrepattern.3: Document that…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [607] code/trunk/doc/pcrepattern.3: Document that isolated \Q continues till the end of the pattern.
Revision: 607
          http://vcs.pcre.org/viewvc?view=rev&revision=607
Author:   ph10
Date:     2011-06-12 16:09:49 +0100 (Sun, 12 Jun 2011)


Log Message:
-----------
Document that isolated \Q continues till the end of the pattern.

Modified Paths:
--------------
    code/trunk/doc/pcrepattern.3


Modified: code/trunk/doc/pcrepattern.3
===================================================================
--- code/trunk/doc/pcrepattern.3    2011-06-06 17:46:22 UTC (rev 606)
+++ code/trunk/doc/pcrepattern.3    2011-06-12 15:09:49 UTC (rev 607)
@@ -220,7 +220,11 @@
   \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 @@
 .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