| 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>/<cr></b> PCRE_NEWLINE_CR |
<b>/<cr></b> PCRE_NEWLINE_CR |
| 203 |
<b>/<lf></b> PCRE_NEWLINE_LF |
<b>/<lf></b> PCRE_NEWLINE_LF |
| 204 |
<b>/<crlf></b> PCRE_NEWLINE_CRLF |
<b>/<crlf></b> PCRE_NEWLINE_CRLF |
| 205 |
<b>/<anycrlf></b> PCRE_NEWLINE_ANYCRLF |
<b>/<anycrlf></b> PCRE_NEWLINE_ANYCRLF |
| 206 |
<b>/<any></b> PCRE_NEWLINE_ANY |
<b>/<any></b> PCRE_NEWLINE_ANY |
| 207 |
|
<b>/<bsr_anycrlf></b> PCRE_BSR_ANYCRLF |
| 208 |
|
<b>/<bsr_unicode></b> PCRE_BSR_UNICODE |
| 209 |
</pre> |
</pre> |
| 210 |
Those specifying line ending sequences are literal strings as shown, but the |
Those specifying line ending sequences are literal strings as shown, but the |
| 211 |
letters can be in either case. This example sets multiline matching with CRLF |
letters can be in either case. This example sets multiline matching with CRLF |
| 674 |
</P> |
</P> |
| 675 |
<br><a name="SEC15" href="#TOC1">REVISION</a><br> |
<br><a name="SEC15" href="#TOC1">REVISION</a><br> |
| 676 |
<P> |
<P> |
| 677 |
Last updated: 21 August 2007 |
Last updated: 11 September 2007 |
| 678 |
<br> |
<br> |
| 679 |
Copyright © 1997-2007 University of Cambridge. |
Copyright © 1997-2007 University of Cambridge. |
| 680 |
<br> |
<br> |