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

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

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

revision 452 by ph10, Tue Sep 1 16:10:16 2009 UTC revision 453 by ph10, Fri Sep 18 19:12:35 2009 UTC
# Line 48  matching function is <b>pcre_exec()</b>. Line 48  matching function is <b>pcre_exec()</b>.
48  </pre>  </pre>
49  The options are:  The options are:
50  <pre>  <pre>
51    PCRE_ANCHORED      Match only at the first position    PCRE_ANCHORED          Match only at the first position
52    PCRE_BSR_ANYCRLF   \R matches only CR, LF, or CRLF    PCRE_BSR_ANYCRLF       \R matches only CR, LF, or CRLF
53    PCRE_BSR_UNICODE   \R matches all Unicode line endings    PCRE_BSR_UNICODE       \R matches all Unicode line endings
54    PCRE_NEWLINE_ANY   Recognize any Unicode newline sequence    PCRE_NEWLINE_ANY       Recognize any Unicode newline sequence
55    PCRE_NEWLINE_ANYCRLF  Recognize CR, LF, and CRLF as newline sequences    PCRE_NEWLINE_ANYCRLF   Recognize CR, LF, & CRLF as newline sequences
56    PCRE_NEWLINE_CR    Set CR as the newline sequence    PCRE_NEWLINE_CR        Recognize CR as the only newline sequence
57    PCRE_NEWLINE_CRLF  Set CRLF as the newline sequence    PCRE_NEWLINE_CRLF      Recognize CRLF as the only newline sequence
58    PCRE_NEWLINE_LF    Set LF as the newline sequence    PCRE_NEWLINE_LF        Recognize LF as the only newline sequence
59    PCRE_NOTBOL        Subject is not the beginning of a line    PCRE_NOTBOL            Subject is not the beginning of a line
60    PCRE_NOTEOL        Subject is not the end of a line    PCRE_NOTEOL            Subject is not the end of a line
61    PCRE_NOTEMPTY      An empty string is not a valid match    PCRE_NOTEMPTY          An empty string is not a valid match
62    PCRE_NO_START_OPTIMIZE  Do not do "start-match" optimizations    PCRE_NOTEMPTY_ATSTART  An empty string at the start of the subject
63    PCRE_NO_UTF8_CHECK Do not check the subject for UTF-8                             is not a valid match
64                         validity (only relevant if PCRE_UTF8    PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations
65                         was set at compile time)    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8
66    PCRE_PARTIAL       ) Return PCRE_ERROR_PARTIAL for a partial match                             validity (only relevant if PCRE_UTF8
67    PCRE_PARTIAL_SOFT  )   if no full matches are found                             was set at compile time)
68    PCRE_PARTIAL_HARD  Return PCRE_ERROR_PARTIAL for a partial match    PCRE_PARTIAL           ) Return PCRE_ERROR_PARTIAL for a partial
69                         even if there is a full match as well    PCRE_PARTIAL_SOFT      )   match if no full matches are found
70    PCRE_DFA_SHORTEST  Return only the shortest match    PCRE_PARTIAL_HARD      Return PCRE_ERROR_PARTIAL for a partial match
71    PCRE_DFA_RESTART   This is a restart after a partial match                             even if there is a full match as well
72      PCRE_DFA_SHORTEST      Return only the shortest match
73      PCRE_DFA_RESTART       Restart after a partial match
74  </pre>  </pre>
75  There are restrictions on what may appear in a pattern when using this matching  There are restrictions on what may appear in a pattern when using this matching
76  function. Details are given in the  function. Details are given in the

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

  ViewVC Help
Powered by ViewVC 1.1.5