/[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 1220 by chpe, Tue Oct 16 15:56:38 2012 UTC revision 1221 by ph10, Sun Nov 11 20:27:03 2012 UTC
# Line 25  and Line 25  and
25  .\" HREF  .\" HREF
26  \fBpcre32\fP  \fBpcre32\fP
27  .\"  .\"
28  documentation.  documentation.
29  .P  .P
30  The input for \fBpcretest\fP is a sequence of regular expression patterns and  The input for \fBpcretest\fP is a sequence of regular expression patterns and
31  strings to be matched, as described below. The output shows the result of each  strings to be matched, as described below. The output shows the result of each
# Line 36  As PCRE has evolved, it has acquired man Line 36  As PCRE has evolved, it has acquired man
36  \fBpcretest\fP now has rather a lot of obscure options for testing every  \fBpcretest\fP now has rather a lot of obscure options for testing every
37  possible feature. Some of these options are specifically designed for use in  possible feature. Some of these options are specifically designed for use in
38  conjunction with the test script and data files that are distributed as part of  conjunction with the test script and data files that are distributed as part of
39  PCRE, and are unlikely to be of use otherwise. They are all documented here,  PCRE, and are unlikely to be of use otherwise. They are all documented here,
40  but without much justification.  but without much justification.
41  .  .
42  .  .
# Line 94  functionality is intended for use in scr Line 94  functionality is intended for use in scr
94  following options output the value indicated:  following options output the value indicated:
95  .sp  .sp
96    ebcdic-nl  the code for LF (= NL) in an EBCDIC environment:    ebcdic-nl  the code for LF (= NL) in an EBCDIC environment:
97                 0x15 or 0x25                 0x15 or 0x25
98                 0 if used in an ASCII environment                 0 if used in an ASCII environment
99    linksize   the internal link size (2, 3, or 4)    linksize   the internal link size (2, 3, or 4)
100    newline    the default newline setting:    newline    the default newline setting:
# Line 177  If \fB-s++\fP is used instead of \fB-s+\ Line 177  If \fB-s++\fP is used instead of \fB-s+\
177  the text "(JIT)" is added to the first output line after a match or no match  the text "(JIT)" is added to the first output line after a match or no match
178  when JIT-compiled code was actually used.  when JIT-compiled code was actually used.
179  .sp  .sp
180  Note that there are pattern options that can override \fB-s\fP, either  Note that there are pattern options that can override \fB-s\fP, either
181  specifying no studying at all, or suppressing JIT compilation.  specifying no studying at all, or suppressing JIT compilation.
182  .sp  .sp
183  If the \fB/I\fP or \fB/D\fP option is present on a pattern (requesting output  If the \fB/I\fP or \fB/D\fP option is present on a pattern (requesting output
# Line 310  sections. Line 310  sections.
310    \fB/X\fP              set PCRE_EXTRA    \fB/X\fP              set PCRE_EXTRA
311    \fB/x\fP              set PCRE_EXTENDED    \fB/x\fP              set PCRE_EXTENDED
312    \fB/Y\fP              set PCRE_NO_START_OPTIMIZE    \fB/Y\fP              set PCRE_NO_START_OPTIMIZE
313    \fB/Z\fP              don't show lengths in \fB/B\fP output    \fB/Z\fP              don't show lengths in \fB/B\fP output
314  .sp  .sp
315    \fB/<any>\fP          set PCRE_NEWLINE_ANY    \fB/<any>\fP          set PCRE_NEWLINE_ANY
316    \fB/<anycrlf>\fP      set PCRE_NEWLINE_ANYCRLF    \fB/<anycrlf>\fP      set PCRE_NEWLINE_ANYCRLF
317    \fB/<cr>\fP           set PCRE_NEWLINE_CR    \fB/<cr>\fP           set PCRE_NEWLINE_CR
# Line 485  JIT compiled code is also output. Line 485  JIT compiled code is also output.
485  .P  .P
486  The \fB/S\fP modifier causes \fBpcre[16|32]_study()\fP to be called after the  The \fB/S\fP modifier causes \fBpcre[16|32]_study()\fP to be called after the
487  expression has been compiled, and the results used when the expression is  expression has been compiled, and the results used when the expression is
488  matched. There are a number of qualifying characters that may follow \fB/S\fP.  matched. There are a number of qualifying characters that may follow \fB/S\fP.
489  They may appear in any order.  They may appear in any order.
490  .P  .P
491  If \fBS\fP is followed by an exclamation mark, \fBpcre[16|32]_study()\fP is called  If \fBS\fP is followed by an exclamation mark, \fBpcre[16|32]_study()\fP is called
492  with the PCRE_STUDY_EXTRA_NEEDED option, causing it always to return a  with the PCRE_STUDY_EXTRA_NEEDED option, causing it always to return a
493  \fBpcre_extra\fP block, even when studying discovers no useful information.  \fBpcre_extra\fP block, even when studying discovers no useful information.
494  .P  .P
495  If \fB/S\fP is followed by a second S character, it suppresses studying, even  If \fB/S\fP is followed by a second S character, it suppresses studying, even

Legend:
Removed from v.1220  
changed lines
  Added in v.1221

  ViewVC Help
Powered by ViewVC 1.1.5