157 |
The following table shows additional modifiers for setting PCRE options that do |
The following table shows additional modifiers for setting PCRE options that do |
158 |
not correspond to anything in Perl: |
not correspond to anything in Perl: |
159 |
.sp |
.sp |
160 |
\fB/A\fP PCRE_ANCHORED |
\fB/A\fP PCRE_ANCHORED |
161 |
\fB/C\fP PCRE_AUTO_CALLOUT |
\fB/C\fP PCRE_AUTO_CALLOUT |
162 |
\fB/E\fP PCRE_DOLLAR_ENDONLY |
\fB/E\fP PCRE_DOLLAR_ENDONLY |
163 |
\fB/f\fP PCRE_FIRSTLINE |
\fB/f\fP PCRE_FIRSTLINE |
164 |
\fB/J\fP PCRE_DUPNAMES |
\fB/J\fP PCRE_DUPNAMES |
165 |
\fB/N\fP PCRE_NO_AUTO_CAPTURE |
\fB/N\fP PCRE_NO_AUTO_CAPTURE |
166 |
\fB/U\fP PCRE_UNGREEDY |
\fB/U\fP PCRE_UNGREEDY |
167 |
\fB/X\fP PCRE_EXTRA |
\fB/X\fP PCRE_EXTRA |
168 |
\fB/<cr>\fP PCRE_NEWLINE_CR |
\fB/<cr>\fP PCRE_NEWLINE_CR |
169 |
\fB/<lf>\fP PCRE_NEWLINE_LF |
\fB/<lf>\fP PCRE_NEWLINE_LF |
170 |
\fB/<crlf>\fP PCRE_NEWLINE_CRLF |
\fB/<crlf>\fP PCRE_NEWLINE_CRLF |
171 |
\fB/<any>\fP PCRE_NEWLINE_ANY |
\fB/<anycrlf>\fP PCRE_NEWLINE_ANY |
172 |
|
\fB/<any>\fP PCRE_NEWLINE_ANY |
173 |
.sp |
.sp |
174 |
Those specifying line ending sequencess are literal strings as shown. This |
Those specifying line ending sequencess are literal strings as shown. This |
175 |
example sets multiline matching with CRLF as the line ending sequence: |
example sets multiline matching with CRLF as the line ending sequence: |
373 |
\e<crlf> pass the PCRE_NEWLINE_CRLF option to \fBpcre_exec()\fP |
\e<crlf> pass the PCRE_NEWLINE_CRLF option to \fBpcre_exec()\fP |
374 |
or \fBpcre_dfa_exec()\fP |
or \fBpcre_dfa_exec()\fP |
375 |
.\" JOIN |
.\" JOIN |
376 |
|
\e<anycrlf> pass the PCRE_NEWLINE_ANYCRLF option to \fBpcre_exec()\fP |
377 |
|
or \fBpcre_dfa_exec()\fP |
378 |
|
.\" JOIN |
379 |
\e<any> pass the PCRE_NEWLINE_ANY option to \fBpcre_exec()\fP |
\e<any> pass the PCRE_NEWLINE_ANY option to \fBpcre_exec()\fP |
380 |
or \fBpcre_dfa_exec()\fP |
or \fBpcre_dfa_exec()\fP |
381 |
.sp |
.sp |
690 |
.rs |
.rs |
691 |
.sp |
.sp |
692 |
.nf |
.nf |
693 |
Last updated: 06 March 2007 |
Last updated: 16 April 2007 |
694 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2007 University of Cambridge. |
695 |
.fi |
.fi |