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 |
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> |
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: |
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> |
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>/<any></b> set PCRE_NEWLINE_ANY |
<b>/<any></b> set PCRE_NEWLINE_ANY |
359 |
<b>/<anycrlf></b> set PCRE_NEWLINE_ANYCRLF |
<b>/<anycrlf></b> set PCRE_NEWLINE_ANYCRLF |
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> |