/[pcre]/code/trunk/doc/pcreapi.3
ViewVC logotype

Diff of /code/trunk/doc/pcreapi.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 834 by ph10, Tue Dec 6 15:38:01 2011 UTC revision 835 by ph10, Wed Dec 28 16:10:09 2011 UTC
# Line 644  string (by default this causes the curre Line 644  string (by default this causes the curre
644  pattern such as (\e1)(a) succeeds when this option is set (assuming it can find  pattern such as (\e1)(a) succeeds when this option is set (assuming it can find
645  an "a" in the subject), whereas it fails by default, for Perl compatibility.  an "a" in the subject), whereas it fails by default, for Perl compatibility.
646  .P  .P
647  (3) \eU matches an upper case "U" character; by default \eU causes a compile  (3) \eU matches an upper case "U" character; by default \eU causes a compile
648  time error (Perl uses \eU to upper case subsequent characters).  time error (Perl uses \eU to upper case subsequent characters).
649  .P  .P
650  (4) \eu matches a lower case "u" character unless it is followed by four  (4) \eu matches a lower case "u" character unless it is followed by four
651  hexadecimal digits, in which case the hexadecimal number defines the code point  hexadecimal digits, in which case the hexadecimal number defines the code point
652  to match. By default, \eu causes a compile time error (Perl uses it to upper  to match. By default, \eu causes a compile time error (Perl uses it to upper
653  case the following character).  case the following character).
654  .P  .P
655  (5) \ex matches a lower case "x" character unless it is followed by two  (5) \ex matches a lower case "x" character unless it is followed by two
656  hexadecimal digits, in which case the hexadecimal number defines the code point  hexadecimal digits, in which case the hexadecimal number defines the code point
657  to match. By default, as in Perl, a hexadecimal number is always expected after  to match. By default, as in Perl, a hexadecimal number is always expected after
658  \ex, but it may have zero, one, or two digits (so, for example, \exz matches a  \ex, but it may have zero, one, or two digits (so, for example, \exz matches a
659  binary zero character followed by z).  binary zero character followed by z).
660  .sp  .sp
661    PCRE_MULTILINE    PCRE_MULTILINE
# Line 1147  particular pattern. See the Line 1147  particular pattern. See the
1147  .\"  .\"
1148  documentation for details of what can and cannot be handled.  documentation for details of what can and cannot be handled.
1149  .sp  .sp
   PCRE_INFO_JITSIZE  
 .sp  
 If the pattern was successfully studied with the PCRE_STUDY_JIT_COMPILE option,  
 return the size of the JIT compiled code, otherwise return zero. The fourth  
 argument should point to a \fBsize_t\fP variable.  
 .sp  
1150    PCRE_INFO_LASTLITERAL    PCRE_INFO_LASTLITERAL
1151  .sp  .sp
1152  Return the value of the rightmost literal byte that must exist in any matched  Return the value of the rightmost literal byte that must exist in any matched
# Line 1268  For such patterns, the PCRE_ANCHORED bit Line 1262  For such patterns, the PCRE_ANCHORED bit
1262  .sp  .sp
1263    PCRE_INFO_SIZE    PCRE_INFO_SIZE
1264  .sp  .sp
1265  Return the size of the compiled pattern. The fourth argument should point to a  Return the size of the compiled pattern, that is, the value that was passed as
1266  \fBsize_t\fP variable. This value does not include the size of the \fBpcre\fP  the argument to \fBpcre_malloc()\fP when PCRE was getting memory in which to
1267  structure that is returned by \fBpcre_compile()\fP. The value that is passed as  place the compiled data. The fourth argument should point to a \fBsize_t\fP
1268  the argument to \fBpcre_malloc()\fP when \fBpcre_compile()\fP is getting memory  variable.
 in which to place the compiled data is the value returned by this option plus  
 the size of the \fBpcre\fP structure. Studying a compiled pattern, with or  
 without JIT, does not alter the value returned by this option.  
1269  .sp  .sp
1270    PCRE_INFO_STUDYSIZE    PCRE_INFO_STUDYSIZE
1271  .sp  .sp
# Line 2553  Cambridge CB2 3QH, England. Line 2544  Cambridge CB2 3QH, England.
2544  .rs  .rs
2545  .sp  .sp
2546  .nf  .nf
2547  Last updated: 02 December 2011  Last updated: 14 November 2011
2548  Copyright (c) 1997-2011 University of Cambridge.  Copyright (c) 1997-2011 University of Cambridge.
2549  .fi  .fi

Legend:
Removed from v.834  
changed lines
  Added in v.835

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12