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

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

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

revision 835 by ph10, Wed Dec 28 16:10:09 2011 UTC revision 836 by ph10, Wed Dec 28 17:16:11 2011 UTC
# Line 649  character). Thus, the pattern AB]CD beco Line 649  character). Thus, the pattern AB]CD beco
649  string (by default this causes the current matching alternative to fail). A  string (by default this causes the current matching alternative to fail). A
650  pattern such as (\1)(a) succeeds when this option is set (assuming it can find  pattern such as (\1)(a) succeeds when this option is set (assuming it can find
651  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.
652    </P>
653    <P>
654    (3) \U matches an upper case "U" character; by default \U causes a compile
655    time error (Perl uses \U to upper case subsequent characters).
656    </P>
657    <P>
658    (4) \u matches a lower case "u" character unless it is followed by four
659    hexadecimal digits, in which case the hexadecimal number defines the code point
660    to match. By default, \u causes a compile time error (Perl uses it to upper
661    case the following character).
662    </P>
663    <P>
664    (5) \x matches a lower case "x" character unless it is followed by two
665    hexadecimal digits, in which case the hexadecimal number defines the code point
666    to match. By default, as in Perl, a hexadecimal number is always expected after
667    \x, but it may have zero, one, or two digits (so, for example, \xz matches a
668    binary zero character followed by z).
669  <pre>  <pre>
670    PCRE_MULTILINE    PCRE_MULTILINE
671  </pre>  </pre>
# Line 1127  particular pattern. See the Line 1144  particular pattern. See the
1144  <a href="pcrejit.html"><b>pcrejit</b></a>  <a href="pcrejit.html"><b>pcrejit</b></a>
1145  documentation for details of what can and cannot be handled.  documentation for details of what can and cannot be handled.
1146  <pre>  <pre>
1147      PCRE_INFO_JITSIZE
1148    </pre>
1149    If the pattern was successfully studied with the PCRE_STUDY_JIT_COMPILE option,
1150    return the size of the JIT compiled code, otherwise return zero. The fourth
1151    argument should point to a <b>size_t</b> variable.
1152    <pre>
1153    PCRE_INFO_LASTLITERAL    PCRE_INFO_LASTLITERAL
1154  </pre>  </pre>
1155  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 1235  For such patterns, the PCRE_ANCHORED bit Line 1258  For such patterns, the PCRE_ANCHORED bit
1258  <pre>  <pre>
1259    PCRE_INFO_SIZE    PCRE_INFO_SIZE
1260  </pre>  </pre>
1261  Return the size of the compiled pattern, that is, the value that was passed as  Return the size of the compiled pattern. The fourth argument should point to a
1262  the argument to <b>pcre_malloc()</b> when PCRE was getting memory in which to  <b>size_t</b> variable. This value does not include the size of the <b>pcre</b>
1263  place the compiled data. The fourth argument should point to a <b>size_t</b>  structure that is returned by <b>pcre_compile()</b>. The value that is passed as
1264  variable.  the argument to <b>pcre_malloc()</b> when <b>pcre_compile()</b> is getting memory
1265    in which to place the compiled data is the value returned by this option plus
1266    the size of the <b>pcre</b> structure. Studying a compiled pattern, with or
1267    without JIT, does not alter the value returned by this option.
1268  <pre>  <pre>
1269    PCRE_INFO_STUDYSIZE    PCRE_INFO_STUDYSIZE
1270  </pre>  </pre>
# Line 2486  Cambridge CB2 3QH, England. Line 2512  Cambridge CB2 3QH, England.
2512  </P>  </P>
2513  <br><a name="SEC24" href="#TOC1">REVISION</a><br>  <br><a name="SEC24" href="#TOC1">REVISION</a><br>
2514  <P>  <P>
2515  Last updated: 23 September 2011  Last updated: 02 December 2011
2516  <br>  <br>
2517  Copyright &copy; 1997-2011 University of Cambridge.  Copyright &copy; 1997-2011 University of Cambridge.
2518  <br>  <br>

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12