/[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 578 by ph10, Wed Nov 17 17:55:57 2010 UTC revision 579 by ph10, Wed Nov 24 17:39:25 2010 UTC
# Line 435  within the pattern (see the detailed des Line 435  within the pattern (see the detailed des
435  documentation). For those options that can be different in different parts of  documentation). For those options that can be different in different parts of
436  the pattern, the contents of the <i>options</i> argument specifies their  the pattern, the contents of the <i>options</i> argument specifies their
437  settings at the start of compilation and execution. The PCRE_ANCHORED,  settings at the start of compilation and execution. The PCRE_ANCHORED,
438  PCRE_BSR_<i>xxx</i>, and PCRE_NEWLINE_<i>xxx</i> options can be set at the time  PCRE_BSR_<i>xxx</i>, PCRE_NEWLINE_<i>xxx</i>, PCRE_NO_UTF8_CHECK, and
439  of matching as well as at compile time.  PCRE_NO_START_OPT options can be set at the time of matching as well as at
440    compile time.
441  </P>  </P>
442  <P>  <P>
443  If <i>errptr</i> is NULL, <b>pcre_compile()</b> returns NULL immediately.  If <i>errptr</i> is NULL, <b>pcre_compile()</b> returns NULL immediately.
# Line 671  were followed by ?: but named parenthese Line 672  were followed by ?: but named parenthese
672  they acquire numbers in the usual way). There is no equivalent of this option  they acquire numbers in the usual way). There is no equivalent of this option
673  in Perl.  in Perl.
674  <pre>  <pre>
675      NO_START_OPTIMIZE
676    </pre>
677    This is an option that acts at matching time; that is, it is really an option
678    for <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>. If it is set at compile time,
679    it is remembered with the compiled pattern and assumed at matching time. For
680    details see the discussion of PCRE_NO_START_OPTIMIZE
681    <a href="#execoptions">below.</a>
682    <pre>
683    PCRE_UCP    PCRE_UCP
684  </pre>  </pre>
685  This option changes the way PCRE processes \B, \b, \D, \d, \S, \s, \W,  This option changes the way PCRE processes \B, \b, \D, \d, \S, \s, \W,
# Line 1480  a pre-scan of the subject that takes pla Line 1489  a pre-scan of the subject that takes pla
1489  The PCRE_NO_START_OPTIMIZE option disables the start-up optimizations, possibly  The PCRE_NO_START_OPTIMIZE option disables the start-up optimizations, possibly
1490  causing performance to suffer, but ensuring that in cases where the result is  causing performance to suffer, but ensuring that in cases where the result is
1491  "no match", the callouts do occur, and that items such as (*COMMIT) and (*MARK)  "no match", the callouts do occur, and that items such as (*COMMIT) and (*MARK)
1492  are considered at every possible starting position in the subject string.  are considered at every possible starting position in the subject string. If
1493    PCRE_NO_START_OPTIMIZE is set at compile time, it cannot be unset at matching
1494    time.
1495    </P>
1496    <P>
1497  Setting PCRE_NO_START_OPTIMIZE can change the outcome of a matching operation.  Setting PCRE_NO_START_OPTIMIZE can change the outcome of a matching operation.
1498  Consider the pattern  Consider the pattern
1499  <pre>  <pre>
# Line 2232  Cambridge CB2 3QH, England. Line 2245  Cambridge CB2 3QH, England.
2245  </P>  </P>
2246  <br><a name="SEC22" href="#TOC1">REVISION</a><br>  <br><a name="SEC22" href="#TOC1">REVISION</a><br>
2247  <P>  <P>
2248  Last updated: 13 November 2010  Last updated: 21 November 2010
2249  <br>  <br>
2250  Copyright &copy; 1997-2010 University of Cambridge.  Copyright &copy; 1997-2010 University of Cambridge.
2251  <br>  <br>

Legend:
Removed from v.578  
changed lines
  Added in v.579

  ViewVC Help
Powered by ViewVC 1.1.5