/[pcre]/code/trunk/doc/pcretest.1
ViewVC logotype

Diff of /code/trunk/doc/pcretest.1

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 93 by nigel, Sat Feb 24 21:41:42 2007 UTC revision 152 by ph10, Tue Apr 17 15:55:53 2007 UTC
# Line 157  effect as they do in Perl. For example: Line 157  effect as they do in Perl. For example:
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_ANYCRLF
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:
# Line 214  the subject string. This is useful for t Line 215  the subject string. This is useful for t
215  multiple copies of the same substring.  multiple copies of the same substring.
216  .P  .P
217  The \fB/B\fP modifier is a debugging feature. It requests that \fBpcretest\fP  The \fB/B\fP modifier is a debugging feature. It requests that \fBpcretest\fP
218  output a representation of the compiled byte code after compilation.  output a representation of the compiled byte code after compilation. Normally
219    this information contains length and offset values; however, if \fB/Z\fP is
220    also present, this data is replaced by spaces. This is a special feature for
221    use in the automatic test scripts; it ensures that the same output is generated
222    for different internal link sizes.
223  .P  .P
224  The \fB/L\fP modifier must be followed directly by the name of a locale, for  The \fB/L\fP modifier must be followed directly by the name of a locale, for
225  example,  example,
# Line 233  so on). It does this by calling \fBpcre_ Line 238  so on). It does this by calling \fBpcre_
238  pattern. If the pattern is studied, the results of that are also output.  pattern. If the pattern is studied, the results of that are also output.
239  .P  .P
240  The \fB/D\fP modifier is a PCRE debugging feature, and is equivalent to  The \fB/D\fP modifier is a PCRE debugging feature, and is equivalent to
241  \fB/BI\fP, that is, both the \fP/B\fP and the \fB/I\fP modifiers.  \fB/BI\fP, that is, both the \fB/B\fP and the \fB/I\fP modifiers.
242  .P  .P
243  The \fB/F\fP modifier causes \fBpcretest\fP to flip the byte order of the  The \fB/F\fP modifier causes \fBpcretest\fP to flip the byte order of the
244  fields in the compiled pattern that contain 2-byte and 4-byte numbers. This  fields in the compiled pattern that contain 2-byte and 4-byte numbers. This
# Line 368  recognized: Line 373  recognized:
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
# Line 665  result is undefined. Line 673  result is undefined.
673  .rs  .rs
674  .sp  .sp
675  \fBpcre\fP(3), \fBpcreapi\fP(3), \fBpcrecallout\fP(3), \fBpcrematching\fP(3),  \fBpcre\fP(3), \fBpcreapi\fP(3), \fBpcrecallout\fP(3), \fBpcrematching\fP(3),
676  \fBpcrepartial\fP(d), \fPpcrepattern\fP(3), \fBpcreprecompile\fP(3).  \fBpcrepartial\fP(d), \fBpcrepattern\fP(3), \fBpcreprecompile\fP(3).
677  .  .
678  .  .
679  .SH AUTHOR  .SH AUTHOR
680  .rs  .rs
681  .sp  .sp
682    .nf
683  Philip Hazel  Philip Hazel
684  .br  University Computing Service
 University Computing Service,  
 .br  
685  Cambridge CB2 3QH, England.  Cambridge CB2 3QH, England.
686  .P  .fi
687  .in 0  .
688  Last updated: 30 November 2006  .
689  .br  .SH REVISION
690  Copyright (c) 1997-2006 University of Cambridge.  .rs
691    .sp
692    .nf
693    Last updated: 16 April 2007
694    Copyright (c) 1997-2007 University of Cambridge.
695    .fi

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

  ViewVC Help
Powered by ViewVC 1.1.5