Skip to content

Commit 2863c9e

Browse files
Sync autogenerated files #noupdate
1 parent 8613839 commit 2863c9e

File tree

4 files changed

+130
-103
lines changed

4 files changed

+130
-103
lines changed

doc/html/pcre2api.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,8 +1652,7 @@ <h1>pcre2api man page</h1>
16521652
(3) \x matches a lower case "x" character unless it is followed by two
16531653
hexadecimal digits, in which case the hexadecimal number defines the code point
16541654
to match. By default, as in Perl, a hexadecimal number is always expected after
1655-
\x, but it may have zero, one, or two digits (so, for example, \xz matches a
1656-
binary zero character followed by z).
1655+
\x, but it may have one or two digits.
16571656
</P>
16581657
<P>
16591658
ECMAscript 6 added additional functionality to \u. This can be accessed using

doc/html/pcre2test.html

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ <h1>pcre2test man page</h1>
176176
functionality is intended for use in scripts such as <b>RunTest</b>. The
177177
following options output the value and set the exit code as indicated:
178178
<pre>
179-
ebcdic-nl the code for LF (= NL) in an EBCDIC environment:
180-
either 0x15 or 0x25
181-
0 if used in an ASCII/Unicode environment
182-
exit code is always 0
183179
linksize the configured internal link size (2, 3, or 4)
184180
exit code is set to the link size
185181
newline the default newline setting:
@@ -196,6 +192,8 @@ <h1>pcre2test man page</h1>
196192
ebcdic compiled for an EBCDIC environment
197193
ebcdic-io if PCRE2 is compiled for EBCDIC, whether pcre2test's input and
198194
output is EBCDIC or ASCII
195+
ebcdic-nl25 if PCRE2 is compiled for EBCDIC, whether NL (= LF) is 0x25
196+
(otherwise it is 0x15, the default)
199197
jit just-in-time support is available
200198
pcre2-16 the 16-bit library was built
201199
pcre2-32 the 32-bit library was built
@@ -227,6 +225,11 @@ <h1>pcre2test man page</h1>
227225
<b>pcre2_match()</b>.
228226
</P>
229227
<P>
228+
<b>-E</b>
229+
Run in "preprocess only" mode (similar to "gcc -E"). The "#if ... #endif"
230+
commands are processed, and all other lines are printed verbatim.
231+
</P>
232+
<P>
230233
<b>-error</b> <i>number[,number,...]</i>
231234
Call <b>pcre2_get_error_message()</b> for each of the error numbers in the
232235
comma-separated list, display the resulting messages on the standard output,
@@ -470,6 +473,17 @@ <h1>pcre2test man page</h1>
470473
</pre>
471474
This command sets a default modifier list that applies to all subsequent
472475
subject lines. Modifiers on a subject line can change these settings.
476+
<pre>
477+
#if CONDITION
478+
...
479+
#endif
480+
</pre>
481+
If CONDITION is true, then the command is printed, and its contents are
482+
processed as normal, including printing the commandlines to the output. If
483+
CONDITION is false, then all lines between the "#if" and "#endif" are skipped
484+
and not printed. The CONDITION can be any of the conditions which are tested by
485+
the "-C" commandline option and which set pcre2test's exit code to a boolean
486+
value. The CONDITION may also be preceded by "!".
473487
</P>
474488
<br><a name="SEC7" href="#TOC1">MODIFIER SYNTAX</a><br>
475489
<P>

doc/pcre2.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,8 +1621,7 @@ COMPILING A PATTERN
16211621
(3) \x matches a lower case "x" character unless it is followed by two
16221622
hexadecimal digits, in which case the hexadecimal number defines the
16231623
code point to match. By default, as in Perl, a hexadecimal number is
1624-
always expected after \x, but it may have zero, one, or two digits (so,
1625-
for example, \xz matches a binary zero character followed by z).
1624+
always expected after \x, but it may have one or two digits.
16261625

16271626
ECMAscript 6 added additional functionality to \u. This can be accessed
16281627
using the PCRE2_EXTRA_ALT_BSUX extra option (see "Extra compile op-

0 commit comments

Comments
 (0)