/[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 150 by ph10, Tue Apr 17 08:22:40 2007 UTC revision 461 by ph10, Mon Oct 5 10:59: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_NEWLINE_ANY   Recognize any Unicode newline sequence    PCRE_BSR_ANYCRLF       \R matches only CR, LF, or CRLF
49    PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences    PCRE_BSR_UNICODE       \R matches all Unicode line endings
50    PCRE_NEWLINE_CR    Set CR as the newline sequence    PCRE_NEWLINE_ANY       Recognize any Unicode newline sequence
51    PCRE_NEWLINE_CRLF  Set CRLF as the newline sequence    PCRE_NEWLINE_ANYCRLF   Recognize CR, LF, & CRLF as newline sequences
52    PCRE_NEWLINE_LF    Set LF as the newline sequence    PCRE_NEWLINE_CR        Recognize CR as the only newline sequence
53    PCRE_NOTBOL        Subject is not the beginning of a line    PCRE_NEWLINE_CRLF      Recognize CRLF as the only newline sequence
54    PCRE_NOTEOL        Subject is not the end of a line    PCRE_NEWLINE_LF        Recognize LF as the only newline sequence
55    PCRE_NOTEMPTY      An empty string is not a valid match    PCRE_NOTBOL            Subject string is not the beginning of a line
56    PCRE_NO_UTF8_CHECK Do not check the subject for UTF-8    PCRE_NOTEOL            Subject string is not the end of a line
57                         validity (only relevant if PCRE_UTF8    PCRE_NOTEMPTY          An empty string is not a valid match
58                         was set at compile time)    PCRE_NOTEMPTY_ATSTART  An empty string at the start of the subject
59    PCRE_PARTIAL       Return PCRE_ERROR_PARTIAL for a partial match                             is not a valid match
60      PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations
61      PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8
62                               validity (only relevant if PCRE_UTF8
63                               was set at compile time)
64      PCRE_PARTIAL           ) Return PCRE_ERROR_PARTIAL for a partial
65      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  There are restrictions on what may appear in a pattern when partial matching is  For details of partial matching, see the
 requested. For details, see the  
70  <a href="pcrepartial.html"><b>pcrepartial</b></a>  <a href="pcrepartial.html"><b>pcrepartial</b></a>
71  page.  page. A <b>pcre_extra</b> structure contains the following fields:
 </P>  
 <P>  
 A <b>pcre_extra</b> structure contains the following fields:  
72  <pre>  <pre>
73    <i>flags</i>        Bits indicating which fields are set    <i>flags</i>        Bits indicating which fields are set
74    <i>study_data</i>   Opaque data from <b>pcre_study()</b>    <i>study_data</i>   Opaque data from <b>pcre_study()</b>

Legend:
Removed from v.150  
changed lines
  Added in v.461

  ViewVC Help
Powered by ViewVC 1.1.5