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

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

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

revision 1458 by ph10, Tue Nov 19 15:36:57 2013 UTC revision 1459 by ph10, Tue Mar 4 10:45:15 2014 UTC
# Line 138  following options output the value and s Line 138  following options output the value and s
138    newline    the default newline setting:    newline    the default newline setting:
139                 CR, LF, CRLF, ANYCRLF, or ANY                 CR, LF, CRLF, ANYCRLF, or ANY
140                 exit code is always 0                 exit code is always 0
141      bsr        the default setting for what \R matches:
142                   ANYCRLF or ANY
143                   exit code is always 0
144  </pre>  </pre>
145  The following options output 1 for true or 0 for false, and set the exit code  The following options output 1 for true or 0 for false, and set the exit code
146  to the same value:  to the same value:
# Line 373  sections. Line 376  sections.
376    <b>/N</b>              set PCRE_NO_AUTO_CAPTURE    <b>/N</b>              set PCRE_NO_AUTO_CAPTURE
377    <b>/O</b>              set PCRE_NO_AUTO_POSSESS    <b>/O</b>              set PCRE_NO_AUTO_POSSESS
378    <b>/P</b>              use the POSIX wrapper    <b>/P</b>              use the POSIX wrapper
379      <b>/Q</b>              test external stack check function
380    <b>/S</b>              study the pattern after compilation    <b>/S</b>              study the pattern after compilation
381    <b>/s</b>              set PCRE_DOTALL    <b>/s</b>              set PCRE_DOTALL
382    <b>/T</b>              select character tables    <b>/T</b>              select character tables
# Line 534  below. Line 538  below.
538  The <b>/I</b> modifier requests that <b>pcretest</b> output information about the  The <b>/I</b> modifier requests that <b>pcretest</b> output information about the
539  compiled pattern (whether it is anchored, has a fixed first character, and  compiled pattern (whether it is anchored, has a fixed first character, and
540  so on). It does this by calling <b>pcre[16|32]_fullinfo()</b> after compiling a  so on). It does this by calling <b>pcre[16|32]_fullinfo()</b> after compiling a
541  pattern. If the pattern is studied, the results of that are also output.  pattern. If the pattern is studied, the results of that are also output. In
542    this output, the word "char" means a non-UTF character, that is, the value of a
543    single data item (8-bit, 16-bit, or 32-bit, depending on the library that is
544    being tested).
545  </P>  </P>
546  <P>  <P>
547  The <b>/K</b> modifier requests <b>pcretest</b> to show names from backtracking  The <b>/K</b> modifier requests <b>pcretest</b> to show names from backtracking
# Line 568  successfully studied with the PCRE_STUDY Line 575  successfully studied with the PCRE_STUDY
575  JIT compiled code is also output.  JIT compiled code is also output.
576  </P>  </P>
577  <P>  <P>
578    The <b>/Q</b> modifier is used to test the use of <b>pcre_stack_guard</b>. It
579    must be followed by '0' or '1', specifying the return code to be given from an
580    external function that is passed to PCRE and used for stack checking during
581    compilation (see the
582    <a href="pcreapi.html"><b>pcreapi</b></a>
583    documentation for details).
584    </P>
585    <P>
586  The <b>/S</b> modifier causes <b>pcre[16|32]_study()</b> to be called after the  The <b>/S</b> modifier causes <b>pcre[16|32]_study()</b> to be called after the
587  expression has been compiled, and the results used when the expression is  expression has been compiled, and the results used when the expression is
588  matched. There are a number of qualifying characters that may follow <b>/S</b>.  matched. There are a number of qualifying characters that may follow <b>/S</b>.
# Line 1134  Cambridge CB2 3QH, England. Line 1149  Cambridge CB2 3QH, England.
1149  </P>  </P>
1150  <br><a name="SEC17" href="#TOC1">REVISION</a><br>  <br><a name="SEC17" href="#TOC1">REVISION</a><br>
1151  <P>  <P>
1152  Last updated: 12 November 2013  Last updated: 09 February 2014
1153  <br>  <br>
1154  Copyright &copy; 1997-2013 University of Cambridge.  Copyright &copy; 1997-2014 University of Cambridge.
1155  <br>  <br>
1156  <p>  <p>
1157  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.1458  
changed lines
  Added in v.1459

  ViewVC Help
Powered by ViewVC 1.1.5