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

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

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

revision 429 by ph10, Tue Sep 1 16:10:16 2009 UTC revision 453 by ph10, Fri Sep 18 19:12:35 2009 UTC
# Line 44  offsets to captured substrings. Its argu Line 44  offsets to captured substrings. Its argu
44  </pre>  </pre>
45  The options are:  The options are:
46  <pre>  <pre>
47    PCRE_ANCHORED      Match only at the first position    PCRE_ANCHORED          Match only at the first position
48    PCRE_BSR_ANYCRLF   \R matches only CR, LF, or CRLF    PCRE_BSR_ANYCRLF       \R matches only CR, LF, or CRLF
49    PCRE_BSR_UNICODE   \R matches all Unicode line endings    PCRE_BSR_UNICODE       \R matches all Unicode line endings
50    PCRE_NEWLINE_ANY   Recognize any Unicode newline sequence    PCRE_NEWLINE_ANY       Recognize any Unicode newline sequence
51    PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences    PCRE_NEWLINE_ANYCRLF   Recognize CR, LF, & CRLF as newline sequences
52    PCRE_NEWLINE_CR    Set CR as the newline sequence    PCRE_NEWLINE_CR        Recognize CR as the only newline sequence
53    PCRE_NEWLINE_CRLF  Set CRLF as the newline sequence    PCRE_NEWLINE_CRLF      Recognize CRLF as the only newline sequence
54    PCRE_NEWLINE_LF    Set LF as the newline sequence    PCRE_NEWLINE_LF        Recognize LF as the only newline sequence
55    PCRE_NOTBOL        Subject is not the beginning of a line    PCRE_NOTBOL            Subject string is not the beginning of a line
56    PCRE_NOTEOL        Subject is not the end of a line    PCRE_NOTEOL            Subject string is not the end of a line
57    PCRE_NOTEMPTY      An empty string is not a valid match    PCRE_NOTEMPTY          An empty string is not a valid match
58    PCRE_NO_START_OPTIMIZE  Do not do "start-match" optimizations    PCRE_NOTEMPTY_ATSTART  An empty string at the start of the subject
59    PCRE_NO_UTF8_CHECK Do not check the subject for UTF-8                             is not a valid match
60                         validity (only relevant if PCRE_UTF8    PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations
61                         was set at compile time)    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8
62    PCRE_PARTIAL       ) Return PCRE_ERROR_PARTIAL for a partial match                             validity (only relevant if PCRE_UTF8
63    PCRE_PARTIAL_SOFT  )   if no full matches are found                             was set at compile time)
64    PCRE_PARTIAL_HARD  Return PCRE_ERROR_PARTIAL for a partial match    PCRE_PARTIAL           ) Return PCRE_ERROR_PARTIAL for a partial
65                         even if there is a full match as well    PCRE_PARTIAL_SOFT      )   match if no full matches are found
66      PCRE_PARTIAL_HARD      Return PCRE_ERROR_PARTIAL for a partial match
67                               even if there is a full match as well
68  </pre>  </pre>
69  For details of partial matching, see the  For details of partial matching, see the
70  <a href="pcrepartial.html"><b>pcrepartial</b></a>  <a href="pcrepartial.html"><b>pcrepartial</b></a>

Legend:
Removed from v.429  
changed lines
  Added in v.453

  ViewVC Help
Powered by ViewVC 1.1.5