summaryrefslogtreecommitdiff
path: root/doc/pcre2_match.3
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-03-25 11:52:22 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-03-25 11:52:22 +0000
commit9df0a47a9cab2485351654ed9867c8ef5e2205af (patch)
tree53d05eb62fb34cf8b46e1d889a69e8593c3e513d /doc/pcre2_match.3
parent42ad19ffb20b5c18e84627eeb16f91c64090136c (diff)
downloadpcre2-9df0a47a9cab2485351654ed9867c8ef5e2205af.tar.gz
Documentation update
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@706 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/pcre2_match.3')
-rw-r--r--doc/pcre2_match.321
1 files changed, 14 insertions, 7 deletions
diff --git a/doc/pcre2_match.3 b/doc/pcre2_match.3
index f25cace..b0bc259 100644
--- a/doc/pcre2_match.3
+++ b/doc/pcre2_match.3
@@ -1,4 +1,4 @@
-.TH PCRE2_MATCH 3 "21 October 2014" "PCRE2 10.00"
+.TH PCRE2_MATCH 3 "25 March 2017" "PCRE2 10.30"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH SYNOPSIS
@@ -31,26 +31,33 @@ offsets to captured substrings. Its arguments are:
A match context is needed only if you want to:
.sp
Set up a callout function
- Change the limit for calling the internal function \fImatch()\fP
- Change the limit for calling \fImatch()\fP recursively
- Set custom memory management when the heap is used for recursion
+ Set a matching offset limit
+ Change the backtracking match limit
+ Change the backtracking depth limit
+ Set custom memory management in the match context
.sp
The \fIlength\fP and \fIstartoffset\fP values are code
-units, not characters. The options are:
+units, not characters. The length may be given as PCRE2_ZERO_TERMINATE for a
+subject that is terminated by a binary zero code unit. The options are:
.sp
PCRE2_ANCHORED Match only at the first position
PCRE2_NOTBOL Subject string is not the beginning of a line
PCRE2_NOTEOL Subject string is not the end of a line
PCRE2_NOTEMPTY An empty string is not a valid match
+.\" JOIN
PCRE2_NOTEMPTY_ATSTART An empty string at the start of the subject
is not a valid match
+ PCRE2_NO_JIT Do not use JIT matching
+.\" JOIN
PCRE2_NO_UTF_CHECK Do not check the subject for UTF
validity (only relevant if PCRE2_UTF
was set at compile time)
+.\" JOIN
+ PCRE2_PARTIAL_HARD Return PCRE2_ERROR_PARTIAL for a partial
+ match even if there is a full match
+.\" JOIN
PCRE2_PARTIAL_SOFT Return PCRE2_ERROR_PARTIAL for a partial
match if no full matches are found
- PCRE2_PARTIAL_HARD Return PCRE2_ERROR_PARTIAL for a partial match
- if that is found before a full match
.sp
For details of partial matching, see the
.\" HREF