diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-26 08:23:47 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-26 08:23:47 +0000 |
commit | 29d1e2521ac05f63981a6d956ac3a6d49407fde6 (patch) | |
tree | fc4dbb29929dc264cf3901b3e9edd9762dae6050 /testdata/testoutput2 | |
parent | 364b0dfa5be62734ea830de6ce8eb9cdb497e545 (diff) | |
download | pcre2-29d1e2521ac05f63981a6d956ac3a6d49407fde6.tar.gz |
Make pcre2test show actual pre-match consulted characters for a partial match,
not the length of the longest lookbehind. Control this by "allusedtext".
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1122 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput2')
-rw-r--r-- | testdata/testoutput2 | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 82fb16d..ca03bd4 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -9369,21 +9369,17 @@ Partial match: abc12 xyzabc123pqr 0: 123 xyzabc12\=ps -Partial match: abc12 - <<< +Partial match: 12 xyzabc12\=ph -Partial match: abc12 - <<< +Partial match: 12 /\babc\b/ +++abc+++ 0: abc +++ab\=ps -Partial match: +ab - < +Partial match: ab +++ab\=ph -Partial match: +ab - < +Partial match: ab /(?&word)(?&element)(?(DEFINE)(?<element><[^m][^>]>[^<])(?<word>\w*+))/B ------------------------------------------------------------------ @@ -10401,8 +10397,7 @@ No match /(?<=abc)def/ abc\=ph -Partial match: abc - <<< +Partial match: /abc$/ abc @@ -11959,11 +11954,9 @@ Callout 2: last capture = 0 /(?<=123)(*MARK:xx)abc/mark xxxx123a\=ph -Partial match, mark=xx: 123a - <<< +Partial match, mark=xx: a xxxx123a\=ps -Partial match, mark=xx: 123a - <<< +Partial match, mark=xx: a /123\Kabc/startchar xxxx123a\=ph @@ -17045,8 +17038,7 @@ Max lookbehind = 2 First code unit = 'c' Subject length lower bound = 1 abc\=ph -Partial match: abc - << +Partial match: c \= Expect no match xbc\=ph No match @@ -17057,8 +17049,7 @@ Max lookbehind = 2 First code unit = 'c' Subject length lower bound = 1 abc\=ph -Partial match: abc - << +Partial match: c \= Expect no match xbc\=ph No match |