/[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 1297 by ph10, Sun Nov 11 20:27:03 2012 UTC revision 1298 by ph10, Fri Mar 22 16:13:13 2013 UTC
# Line 1288  be used. Line 1288  be used.
1288    PCRE_INFO_MAXLOOKBEHIND    PCRE_INFO_MAXLOOKBEHIND
1289  </pre>  </pre>
1290  Return the number of characters (NB not bytes) in the longest lookbehind  Return the number of characters (NB not bytes) in the longest lookbehind
1291  assertion in the pattern. Note that the simple assertions \b and \B require a  assertion in the pattern. This information is useful when doing multi-segment
1292  one-character lookbehind. This information is useful when doing multi-segment  matching using the partial matching facilities. Note that the simple assertions
1293  matching using the partial matching facilities.  \b and \B require a one-character lookbehind. \A also registers a
1294    one-character lookbehind, though it does not actually inspect the previous
1295    character. This is to ensure that at least one character from the old segment
1296    is retained when a new segment is processed. Otherwise, if there are no
1297    lookbehinds in the pattern, \A might match incorrectly at the start of a new
1298    segment.
1299  <pre>  <pre>
1300    PCRE_INFO_MINLENGTH    PCRE_INFO_MINLENGTH
1301  </pre>  </pre>
# Line 2332  character. Line 2337  character.
2337  The first byte of a character has the value 0xfe or 0xff. These values can  The first byte of a character has the value 0xfe or 0xff. These values can
2338  never occur in a valid UTF-8 string.  never occur in a valid UTF-8 string.
2339  <pre>  <pre>
2340    PCRE_UTF8_ERR2    PCRE_UTF8_ERR22
2341  </pre>  </pre>
2342  Non-character. These are the last two characters in each plane (0xfffe, 0xffff,  This error code was formerly used when the presence of a so-called
2343  0x1fffe, 0x1ffff .. 0x10fffe, 0x10ffff), and the characters 0xfdd0..0xfdef.  "non-character" caused an error. Unicode corrigendum #9 makes it clear that
2344    such characters should not cause a string to be rejected, and so this code is
2345    no longer in use and is never returned.
2346  </P>  </P>
2347  <br><a name="SEC18" href="#TOC1">EXTRACTING CAPTURED SUBSTRINGS BY NUMBER</a><br>  <br><a name="SEC18" href="#TOC1">EXTRACTING CAPTURED SUBSTRINGS BY NUMBER</a><br>
2348  <P>  <P>
# Line 2777  Cambridge CB2 3QH, England. Line 2784  Cambridge CB2 3QH, England.
2784  </P>  </P>
2785  <br><a name="SEC26" href="#TOC1">REVISION</a><br>  <br><a name="SEC26" href="#TOC1">REVISION</a><br>
2786  <P>  <P>
2787  Last updated: 08 November 2012  Last updated: 27 February 2013
2788  <br>  <br>
2789  Copyright &copy; 1997-2012 University of Cambridge.  Copyright &copy; 1997-2013 University of Cambridge.
2790  <br>  <br>
2791  <p>  <p>
2792  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.

Legend:
Removed from v.1297  
changed lines
  Added in v.1298

  ViewVC Help
Powered by ViewVC 1.1.5