diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-06-05 18:25:47 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-06-05 18:25:47 +0000 |
commit | 3bb618c91795bc56f3062d7e09f4950b84a064d9 (patch) | |
tree | 6b00b279d05ab6ecd19d83a5783f9034b6cf12a6 /doc/html/pcre2test.html | |
parent | 5b20a763d32c58e8b2184a5393f8efe0144c28b9 (diff) | |
download | pcre2-3bb618c91795bc56f3062d7e09f4950b84a064d9.tar.gz |
Implement REG_PEND (GNU extension) for the POSIX wrapper.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@820 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/html/pcre2test.html')
-rw-r--r-- | doc/html/pcre2test.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/html/pcre2test.html b/doc/html/pcre2test.html index 58312c0..3fbc8c5 100644 --- a/doc/html/pcre2test.html +++ b/doc/html/pcre2test.html @@ -1078,6 +1078,19 @@ are <b>notbol</b>, <b>notempty</b>, and <b>noteol</b>, causing REG_NOTBOL, REG_NOTEMPTY, and REG_NOTEOL, respectively, to be passed to <b>regexec()</b>. The other modifiers are ignored, with a warning message. </P> +<P> +There is one additional modifier that can be used with the POSIX wrapper. It is +ignored (with a warning) if used for non-POSIX matching. +<pre> + posix_startend=<n>[:<m>] +</pre> +This causes the subject string to be passed to <b>regexec()</b> using the +REG_STARTEND option, which uses offsets to restrict which part of the string is +searched. If only one number is given, the end offset is passed as the end of +the subject string. For more detail of REG_STARTEND, see the +<a href="pcre2posix.html"><b>pcre2posix</b></a> +documentation. +</P> <br><b> Setting match controls </b><br> @@ -1817,7 +1830,7 @@ Cambridge, England. </P> <br><a name="SEC21" href="#TOC1">REVISION</a><br> <P> -Last updated: 01 June 2017 +Last updated: 03 June 2017 <br> Copyright © 1997-2017 University of Cambridge. <br> |