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

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

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

revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC revision 1221 by ph10, Sun Nov 11 20:27:03 2012 UTC
# Line 47  options, see the Line 47  options, see the
47  <a href="pcre16.html"><b>pcre16</b></a>  <a href="pcre16.html"><b>pcre16</b></a>
48  and  and
49  <a href="pcre32.html"><b>pcre32</b></a>  <a href="pcre32.html"><b>pcre32</b></a>
50  documentation.  documentation.
51  </P>  </P>
52  <P>  <P>
53  The input for <b>pcretest</b> is a sequence of regular expression patterns and  The input for <b>pcretest</b> is a sequence of regular expression patterns and
# Line 60  As PCRE has evolved, it has acquired man Line 60  As PCRE has evolved, it has acquired man
60  <b>pcretest</b> now has rather a lot of obscure options for testing every  <b>pcretest</b> now has rather a lot of obscure options for testing every
61  possible feature. Some of these options are specifically designed for use in  possible feature. Some of these options are specifically designed for use in
62  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
63  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,
64  but without much justification.  but without much justification.
65  </P>  </P>
66  <br><a name="SEC2" href="#TOC1">PCRE's 8-BIT, 16-BIT AND 32-BIT LIBRARIES</a><br>  <br><a name="SEC2" href="#TOC1">PCRE's 8-BIT, 16-BIT AND 32-BIT LIBRARIES</a><br>
# Line 120  functionality is intended for use in scr Line 120  functionality is intended for use in scr
120  following options output the value indicated:  following options output the value indicated:
121  <pre>  <pre>
122    ebcdic-nl  the code for LF (= NL) in an EBCDIC environment:    ebcdic-nl  the code for LF (= NL) in an EBCDIC environment:
123                 0x15 or 0x25                 0x15 or 0x25
124                 0 if used in an ASCII environment                 0 if used in an ASCII environment
125    linksize   the internal link size (2, 3, or 4)    linksize   the internal link size (2, 3, or 4)
126    newline    the default newline setting:    newline    the default newline setting:
# Line 216  the text "(JIT)" is added to the first o Line 216  the text "(JIT)" is added to the first o
216  when JIT-compiled code was actually used.  when JIT-compiled code was actually used.
217  <br>  <br>
218  <br>  <br>
219  Note that there are pattern options that can override <b>-s</b>, either  Note that there are pattern options that can override <b>-s</b>, either
220  specifying no studying at all, or suppressing JIT compilation.  specifying no studying at all, or suppressing JIT compilation.
221  <br>  <br>
222  <br>  <br>
# Line 353  sections. Line 353  sections.
353    <b>/X</b>              set PCRE_EXTRA    <b>/X</b>              set PCRE_EXTRA
354    <b>/x</b>              set PCRE_EXTENDED    <b>/x</b>              set PCRE_EXTENDED
355    <b>/Y</b>              set PCRE_NO_START_OPTIMIZE    <b>/Y</b>              set PCRE_NO_START_OPTIMIZE
356    <b>/Z</b>              don't show lengths in <b>/B</b> output    <b>/Z</b>              don't show lengths in <b>/B</b> output
357    
358    <b>/&#60;any&#62;</b>          set PCRE_NEWLINE_ANY    <b>/&#60;any&#62;</b>          set PCRE_NEWLINE_ANY
359    <b>/&#60;anycrlf&#62;</b>      set PCRE_NEWLINE_ANYCRLF    <b>/&#60;anycrlf&#62;</b>      set PCRE_NEWLINE_ANYCRLF
# Line 540  JIT compiled code is also output. Line 540  JIT compiled code is also output.
540  <P>  <P>
541  The <b>/S</b> modifier causes <b>pcre[16|32]_study()</b> to be called after the  The <b>/S</b> modifier causes <b>pcre[16|32]_study()</b> to be called after the
542  expression has been compiled, and the results used when the expression is  expression has been compiled, and the results used when the expression is
543  matched. There are a number of qualifying characters that may follow <b>/S</b>.  matched. There are a number of qualifying characters that may follow <b>/S</b>.
544  They may appear in any order.  They may appear in any order.
545  </P>  </P>
546  <P>  <P>
547  If <b>S</b> is followed by an exclamation mark, <b>pcre[16|32]_study()</b> is called  If <b>S</b> is followed by an exclamation mark, <b>pcre[16|32]_study()</b> is called
548  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
549  <b>pcre_extra</b> block, even when studying discovers no useful information.  <b>pcre_extra</b> block, even when studying discovers no useful information.
550  </P>  </P>
551  <P>  <P>

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

  ViewVC Help
Powered by ViewVC 1.1.5