/[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 99 by ph10, Tue Mar 6 12:27:42 2007 UTC revision 152 by ph10, Tue Apr 17 15:55:53 2007 UTC
# Line 7  Line 7 
7  <p>  <p>
8  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.
9  </p>  </p>
10  <p>  <p>
11  This page is part of the PCRE HTML documentation. It was generated automatically  This page is part of the PCRE HTML documentation. It was generated automatically
12  from the original man page. If there is any nonsense in it, please consult the  from the original man page. If there is any nonsense in it, please consult the
13  man page, in case the conversion went wrong.  man page, in case the conversion went wrong.
14  <br>  <br>
15  <ul>  <ul>
16  <li><a name="TOC1" href="#SEC1">SYNOPSIS</a>  <li><a name="TOC1" href="#SEC1">SYNOPSIS</a>
17  <li><a name="TOC2" href="#SEC2">OPTIONS</a>  <li><a name="TOC2" href="#SEC2">OPTIONS</a>
# Line 191  effect as they do in Perl. For example: Line 191  effect as they do in Perl. For example:
191  The following table shows additional modifiers for setting PCRE options that do  The following table shows additional modifiers for setting PCRE options that do
192  not correspond to anything in Perl:  not correspond to anything in Perl:
193  <pre>  <pre>
194    <b>/A</b>       PCRE_ANCHORED    <b>/A</b>          PCRE_ANCHORED
195    <b>/C</b>       PCRE_AUTO_CALLOUT    <b>/C</b>          PCRE_AUTO_CALLOUT
196    <b>/E</b>       PCRE_DOLLAR_ENDONLY    <b>/E</b>          PCRE_DOLLAR_ENDONLY
197    <b>/f</b>       PCRE_FIRSTLINE    <b>/f</b>          PCRE_FIRSTLINE
198    <b>/J</b>       PCRE_DUPNAMES    <b>/J</b>          PCRE_DUPNAMES
199    <b>/N</b>       PCRE_NO_AUTO_CAPTURE    <b>/N</b>          PCRE_NO_AUTO_CAPTURE
200    <b>/U</b>       PCRE_UNGREEDY    <b>/U</b>          PCRE_UNGREEDY
201    <b>/X</b>       PCRE_EXTRA    <b>/X</b>          PCRE_EXTRA
202    <b>/&#60;cr&#62;</b>    PCRE_NEWLINE_CR    <b>/&#60;cr&#62;</b>       PCRE_NEWLINE_CR
203    <b>/&#60;lf&#62;</b>    PCRE_NEWLINE_LF    <b>/&#60;lf&#62;</b>       PCRE_NEWLINE_LF
204    <b>/&#60;crlf&#62;</b>  PCRE_NEWLINE_CRLF    <b>/&#60;crlf&#62;</b>     PCRE_NEWLINE_CRLF
205    <b>/&#60;any&#62;</b>   PCRE_NEWLINE_ANY    <b>/&#60;anycrlf&#62;</b>  PCRE_NEWLINE_ANYCRLF
206      <b>/&#60;any&#62;</b>      PCRE_NEWLINE_ANY
207  </pre>  </pre>
208  Those specifying line ending sequencess are literal strings as shown. This  Those specifying line ending sequencess are literal strings as shown. This
209  example sets multiline matching with CRLF as the line ending sequence:  example sets multiline matching with CRLF as the line ending sequence:
# Line 249  multiple copies of the same substring. Line 250  multiple copies of the same substring.
250  </P>  </P>
251  <P>  <P>
252  The <b>/B</b> modifier is a debugging feature. It requests that <b>pcretest</b>  The <b>/B</b> modifier is a debugging feature. It requests that <b>pcretest</b>
253  output a representation of the compiled byte code after compilation.  output a representation of the compiled byte code after compilation. Normally
254    this information contains length and offset values; however, if <b>/Z</b> is
255    also present, this data is replaced by spaces. This is a special feature for
256    use in the automatic test scripts; it ensures that the same output is generated
257    for different internal link sizes.
258  </P>  </P>
259  <P>  <P>
260  The <b>/L</b> modifier must be followed directly by the name of a locale, for  The <b>/L</b> modifier must be followed directly by the name of a locale, for
# Line 271  pattern. If the pattern is studied, the Line 276  pattern. If the pattern is studied, the
276  </P>  </P>
277  <P>  <P>
278  The <b>/D</b> modifier is a PCRE debugging feature, and is equivalent to  The <b>/D</b> modifier is a PCRE debugging feature, and is equivalent to
279  <b>/BI</b>, that is, both the \fP/B\fP and the <b>/I</b> modifiers.  <b>/BI</b>, that is, both the <b>/B</b> and the <b>/I</b> modifiers.
280  </P>  </P>
281  <P>  <P>
282  The <b>/F</b> modifier causes <b>pcretest</b> to flip the byte order of the  The <b>/F</b> modifier causes <b>pcretest</b> to flip the byte order of the
# Line 361  recognized: Line 366  recognized:
366    \&#60;cr&#62;      pass the PCRE_NEWLINE_CR option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>    \&#60;cr&#62;      pass the PCRE_NEWLINE_CR option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>
367    \&#60;lf&#62;      pass the PCRE_NEWLINE_LF option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>    \&#60;lf&#62;      pass the PCRE_NEWLINE_LF option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>
368    \&#60;crlf&#62;    pass the PCRE_NEWLINE_CRLF option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>    \&#60;crlf&#62;    pass the PCRE_NEWLINE_CRLF option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>
369      \&#60;anycrlf&#62; pass the PCRE_NEWLINE_ANYCRLF option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>
370    \&#60;any&#62;     pass the PCRE_NEWLINE_ANY option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>    \&#60;any&#62;     pass the PCRE_NEWLINE_ANY option to <b>pcre_exec()</b> or <b>pcre_dfa_exec()</b>
371  </pre>  </pre>
372  The escapes that specify line ending sequences are literal strings, exactly as  The escapes that specify line ending sequences are literal strings, exactly as
# Line 649  result is undefined. Line 655  result is undefined.
655  <br><a name="SEC13" href="#TOC1">SEE ALSO</a><br>  <br><a name="SEC13" href="#TOC1">SEE ALSO</a><br>
656  <P>  <P>
657  <b>pcre</b>(3), <b>pcreapi</b>(3), <b>pcrecallout</b>(3), <b>pcrematching</b>(3),  <b>pcre</b>(3), <b>pcreapi</b>(3), <b>pcrecallout</b>(3), <b>pcrematching</b>(3),
658  <b>pcrepartial</b>(d), \fPpcrepattern\fP(3), <b>pcreprecompile</b>(3).  <b>pcrepartial</b>(d), <b>pcrepattern</b>(3), <b>pcreprecompile</b>(3).
659  </P>  </P>
660  <br><a name="SEC14" href="#TOC1">AUTHOR</a><br>  <br><a name="SEC14" href="#TOC1">AUTHOR</a><br>
661  <P>  <P>
# Line 662  Cambridge CB2 3QH, England. Line 668  Cambridge CB2 3QH, England.
668  </P>  </P>
669  <br><a name="SEC15" href="#TOC1">REVISION</a><br>  <br><a name="SEC15" href="#TOC1">REVISION</a><br>
670  <P>  <P>
671  Last updated: 06 March 2007  Last updated: 16 April 2007
672  <br>  <br>
673  Copyright &copy; 1997-2007 University of Cambridge.  Copyright &copy; 1997-2007 University of Cambridge.
674  <br>  <br>

Legend:
Removed from v.99  
changed lines
  Added in v.152

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12