@@ -176,10 +176,6 @@ <h1>pcre2test man page</h1>
176176functionality is intended for use in scripts such as < b > RunTest</ b > . The
177177following 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 >
231234Call < b > pcre2_get_error_message()</ b > for each of the error numbers in the
232235comma-separated list, display the resulting messages on the standard output,
@@ -470,6 +473,17 @@ <h1>pcre2test man page</h1>
470473</ pre >
471474This command sets a default modifier list that applies to all subsequent
472475subject 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 >
0 commit comments