/[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 148 by ph10, Mon Apr 16 13:25:10 2007 UTC revision 150 by ph10, Tue Apr 17 08:22:40 2007 UTC
# 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_ANY
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 365  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 666  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.148  
changed lines
  Added in v.150

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12