[Pcre-svn] [1344] code/trunk/doc/pcreapi.3: Fix error in de…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [1344] code/trunk/doc/pcreapi.3: Fix error in description of PCRE_INFO_FIRSTCHARACTER.
Revision: 1344
          http://vcs.pcre.org/viewvc?view=rev&revision=1344
Author:   ph10
Date:     2013-07-02 18:40:20 +0100 (Tue, 02 Jul 2013)


Log Message:
-----------
Fix error in description of PCRE_INFO_FIRSTCHARACTER.

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


Modified: code/trunk/doc/pcreapi.3
===================================================================
--- code/trunk/doc/pcreapi.3    2013-07-02 16:50:48 UTC (rev 1343)
+++ code/trunk/doc/pcreapi.3    2013-07-02 17:40:20 UTC (rev 1344)
@@ -1477,26 +1477,14 @@
 .sp
   PCRE_INFO_FIRSTCHARACTER
 .sp
-Return the fixed first character value, if PCRE_INFO_FIRSTCHARACTERFLAGS
-returned 1; otherwise returns 0. The fourth argument should point to an
-\fBuint_t\fP variable.
+Return the fixed first character value in the situation where
+PCRE_INFO_FIRSTCHARACTERFLAGS returns 1; otherwise return 0. The fourth
+argument should point to an \fBuint_t\fP variable.
 .P
 In the 8-bit library, the value is always less than 256. In the 16-bit library
 the value can be up to 0xffff. In the 32-bit library in UTF-32 mode the value
 can be up to 0x10ffff, and up to 0xffffffff when not using UTF-32 mode.
-.P
-If there is no fixed first value, and if either
 .sp
-(a) the pattern was compiled with the PCRE_MULTILINE option, and every branch
-starts with "^", or
-.sp
-(b) every branch of the pattern starts with ".*" and PCRE_DOTALL is not set
-(if it were set, the pattern would be anchored),
-.sp
--1 is returned, indicating that the pattern matches only at the start of a
-subject string or after any newline within the string. Otherwise -2 is
-returned. For anchored patterns, -2 is returned.
-.sp
   PCRE_INFO_REQUIREDCHARFLAGS
 .sp
 Returns 1 if there is a rightmost literal data unit that must exist in any
@@ -2854,6 +2842,6 @@
 .rs
 .sp
 .nf
-Last updated: 12 June 2013
+Last updated: 02 July 2013
 Copyright (c) 1997-2013 University of Cambridge.
 .fi