Documentation update for new PCRE2_EXTRA caseless and ASCII options

This commit is contained in:
Philip Hazel
2023-02-04 17:19:56 +00:00
parent 9c905ce0c1
commit 6bf8045997
18 changed files with 2797 additions and 2538 deletions

View File

@@ -1,4 +1,4 @@
.TH PCRE2_COMPILE 3 "22 April 2022" "PCRE2 10.41"
.TH PCRE2_COMPILE 3 "03 February 2023" "PCRE2 10.43"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH SYNOPSIS
@@ -20,7 +20,7 @@ arguments are:
.sp
\fIpattern\fP A string containing expression to be compiled
\fIlength\fP The length of the string or PCRE2_ZERO_TERMINATED
\fIoptions\fP Option bits
\fIoptions\fP Primary option bits
\fIerrorcode\fP Where to put an error code
\fIerroffset\fP Where to put an error offset
\fIccontext\fP Pointer to a compile context or NULL
@@ -28,16 +28,17 @@ arguments are:
The length of the pattern and any error offset that is returned are in code
units, not characters. A compile context is needed only if you want to provide
custom memory allocation functions, or to provide an external function for
system stack size checking, or to change one or more of these parameters:
system stack size checking (see \fBpcre2_set_compile_recursion_guard()\fP), or
to change one or more of these parameters:
.sp
What \eR matches (Unicode newlines, or CR, LF, CRLF only);
PCRE2's character tables;
The newline character sequence;
The compile time nested parentheses limit;
The maximum pattern length (in code units) that is allowed.
The additional options bits (see pcre2_set_compile_extra_options())
The maximum pattern length (in code units) that is allowed;
The additional options bits.
.sp
The option bits are:
The primary option bits are:
.sp
PCRE2_ANCHORED Force pattern anchoring
PCRE2_ALLOW_EMPTY_CLASS Allow empty classes