| 146 |
The following table shows additional modifiers for setting PCRE options |
The following table shows additional modifiers for setting PCRE options |
| 147 |
that do not correspond to anything in Perl: |
that do not correspond to anything in Perl: |
| 148 |
|
|
| 149 |
/A PCRE_ANCHORED |
/A PCRE_ANCHORED |
| 150 |
/C PCRE_AUTO_CALLOUT |
/C PCRE_AUTO_CALLOUT |
| 151 |
/E PCRE_DOLLAR_ENDONLY |
/E PCRE_DOLLAR_ENDONLY |
| 152 |
/f PCRE_FIRSTLINE |
/f PCRE_FIRSTLINE |
| 153 |
/J PCRE_DUPNAMES |
/J PCRE_DUPNAMES |
| 154 |
/N PCRE_NO_AUTO_CAPTURE |
/N PCRE_NO_AUTO_CAPTURE |
| 155 |
/U PCRE_UNGREEDY |
/U PCRE_UNGREEDY |
| 156 |
/X PCRE_EXTRA |
/X PCRE_EXTRA |
| 157 |
/<cr> PCRE_NEWLINE_CR |
/<cr> PCRE_NEWLINE_CR |
| 158 |
/<lf> PCRE_NEWLINE_LF |
/<lf> PCRE_NEWLINE_LF |
| 159 |
/<crlf> PCRE_NEWLINE_CRLF |
/<crlf> PCRE_NEWLINE_CRLF |
| 160 |
/<any> PCRE_NEWLINE_ANY |
/<anycrlf> PCRE_NEWLINE_ANY |
| 161 |
|
/<any> PCRE_NEWLINE_ANY |
| 162 |
|
|
| 163 |
Those specifying line ending sequencess are literal strings as shown. |
Those specifying line ending sequencess are literal strings as shown. |
| 164 |
This example sets multiline matching with CRLF as the line ending |
This example sets multiline matching with CRLF as the line ending |
| 331 |
or pcre_dfa_exec() |
or pcre_dfa_exec() |
| 332 |
\<crlf> pass the PCRE_NEWLINE_CRLF option to pcre_exec() |
\<crlf> pass the PCRE_NEWLINE_CRLF option to pcre_exec() |
| 333 |
or pcre_dfa_exec() |
or pcre_dfa_exec() |
| 334 |
|
\<anycrlf> pass the PCRE_NEWLINE_ANYCRLF option to pcre_exec() |
| 335 |
|
or pcre_dfa_exec() |
| 336 |
\<any> pass the PCRE_NEWLINE_ANY option to pcre_exec() |
\<any> pass the PCRE_NEWLINE_ANY option to pcre_exec() |
| 337 |
or pcre_dfa_exec() |
or pcre_dfa_exec() |
| 338 |
|
|
| 621 |
|
|
| 622 |
REVISION |
REVISION |
| 623 |
|
|
| 624 |
Last updated: 06 March 2007 |
Last updated: 16 April 2007 |
| 625 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2007 University of Cambridge. |