summaryrefslogtreecommitdiff
path: root/testdata/testinput14
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2014-10-10 11:55:28 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2014-10-10 11:55:28 +0000
commit7408e9b9c6d60acf43e7208ad1117c6e24a6357a (patch)
tree5a9ba58caa037a2e096ddf1952bb58b755b8991f /testdata/testinput14
parent7dd590c6886a3e85969012fe09e6d6de383e9b99 (diff)
downloadpcre2-7408e9b9c6d60acf43e7208ad1117c6e24a6357a.tar.gz
Remove leftchar/rightchar from the public API.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@101 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput14')
-rw-r--r--testdata/testinput1430
1 files changed, 29 insertions, 1 deletions
diff --git a/testdata/testinput14 b/testdata/testinput14
index d882b61..69ca2b6 100644
--- a/testdata/testinput14
+++ b/testdata/testinput14
@@ -1,7 +1,11 @@
-# These are tests of the match-limiting features. The results are different for
+# These are:
+#
+# (1) Tests of the match-limiting features. The results are different for
# interpretive or JIT matching, so this test should not be run with JIT. The
# same tests are run using JIT in test 16.
+# (2) Other tests that must not be run with JIT.
+
/(a+)*zz/I
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaazzbbbbbb\=find_limits
aaaaaaaaaaaaaz\=find_limits
@@ -80,5 +84,29 @@
/(?(R)a*(?1)|((?R))b)/
aaaabcde
+
+# The allusedtext modifier does not work with JIT, which does not maintain
+# the leftchar/rightchar data.
+
+/abc(?=xyz)/allusedtext
+ abcxyzpqr
+ abcxyzpqr\=aftertext
+
+/(?<=pqr)abc(?=xyz)/allusedtext
+ xyzpqrabcxyzpqr
+ xyzpqrabcxyzpqr\=aftertext
+
+/a\b/
+ a.\=allusedtext
+ a\=allusedtext
+
+/abc\Kxyz/
+ abcxyz\=allusedtext
+
+/abc(?=xyz(*ACCEPT))/
+ abcxyz\=allusedtext
+
+/abc(?=abcde)(?=ab)/allusedtext
+ abcabcdefg
# End of testinput14