summaryrefslogtreecommitdiff
path: root/testdata/testinput6
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-06-26 08:23:47 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-06-26 08:23:47 +0000
commit29d1e2521ac05f63981a6d956ac3a6d49407fde6 (patch)
treefc4dbb29929dc264cf3901b3e9edd9762dae6050 /testdata/testinput6
parent364b0dfa5be62734ea830de6ce8eb9cdb497e545 (diff)
downloadpcre2-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/testinput6')
-rw-r--r--testdata/testinput68
1 files changed, 4 insertions, 4 deletions
diff --git a/testdata/testinput6 b/testdata/testinput6
index 15dfb74..403e3fa 100644
--- a/testdata/testinput6
+++ b/testdata/testinput6
@@ -486,7 +486,7 @@
def\=dfa_restart
/(?<=foo)bar/
- foob\=ps,offset=2
+ foob\=ps,offset=2,allusedtext
foobar...\=ps,dfa_restart,offset=4
foobar\=offset=2
\= Expect no match
@@ -4415,12 +4415,12 @@
/abc\K123/
xyzabc123pqr
-/(?<=abc)123/
+/(?<=abc)123/allusedtext
xyzabc123pqr
xyzabc12\=ps
xyzabc12\=ph
-/\babc\b/
+/\babc\b/allusedtext
+++abc+++
+++ab\=ps
+++ab\=ph
@@ -4490,7 +4490,7 @@
/^(?(?!a(*SKIP)b))/
ac
-/(?<=abc)def/
+/(?<=abc)def/allusedtext
abc\=ph
/abc$/