Usage: pcre2test [options] [ []] Input and output default to stdin and stdout. If input is a terminal, readline() is used to read from it. Options: -8 use the 8-bit library -16 use the 16-bit library -32 use the 32-bit library -ac set default pattern modifier PCRE2_AUTO_CALLOUT -AC as -ac, but also set subject 'callout_extra' modifier -b set default pattern modifier 'fullbincode' -C show PCRE2 compile-time options and exit -C arg show a specific compile-time option and exit with its value if numeric (else 0). The arg can be: backslash-C use of \C is enabled [0, 1] bsr \R type [ANYCRLF, ANY] ebcdic compiled for EBCDIC character code [0, 1] ebcdic-io if compiled for EBCDIC, whether pcre2test's input and output is EBCDIC or ASCII [0, 1] ebcdic-nl25 if compiled for EBCDIC, whether NL is 0x25 [0, 1] jit just-in-time compiler supported [0, 1] jitusable test JIT usability [0, 1, 2, 3] linksize internal link size [2, 3, 4] newline newline type [CR, LF, CRLF, ANYCRLF, ANY, NUL] pcre2-8 8 bit library support enabled [0, 1] pcre2-16 16 bit library support enabled [0, 1] pcre2-32 32 bit library support enabled [0, 1] unicode Unicode and UTF support enabled [0, 1] --colo[u]r[=] show output in colour -d set default pattern modifier 'debug' -dfa set default subject modifier 'dfa' -E preprocess input only (#if ... #endif) -error show messages for error numbers, then exit -help show usage information -i set default pattern modifier 'info' -jit set default pattern modifier 'jit' -jitfast set default pattern modifier 'jitfast' -jitverify set default pattern modifier 'jitverify' -LM list pattern and subject modifiers, then exit -LP list non-script properties, then exit -LS list supported scripts, then exit -malloc exercise malloc() failures -q quiet: do not output PCRE2 version number at start -pattern set default pattern modifier fields -subject set default subject modifier fields -S set stack size to mebibytes -t [] time compilation and execution, repeating times -tm [] time execution (matching) only, repeating times -T same as -t, but show total times at the end -TM same as -tm, but show total time at the end -unittest run unit tests, then exit -v|--version show PCRE2 version and exit