summaryrefslogtreecommitdiff
path: root/testdata/testoutput5
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-06-01 18:10:15 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-06-01 18:10:15 +0000
commit0b413ddb2bbcf992322ac8168bc1c180b5e0b096 (patch)
treefa3f434f0cd8a77ca19bf8b269544380abb4ca88 /testdata/testoutput5
parentd7dc5d608f73e8fe3e6463806604fb29ce06fb3d (diff)
downloadpcre2-0b413ddb2bbcf992322ac8168bc1c180b5e0b096.tar.gz
Implement PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@816 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput5')
-rw-r--r--testdata/testoutput521
1 files changed, 20 insertions, 1 deletions
diff --git a/testdata/testoutput5 b/testdata/testoutput5
index 091b06a..fd71dd3 100644
--- a/testdata/testoutput5
+++ b/testdata/testoutput5
@@ -4579,6 +4579,25 @@ No match
X$
No match
-# ---------------------------------------------------------------------------
+# ----------------------------------------------------------------------
+# These test the dangerous PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL option.
+
+/\x{d800}/B,utf,bad_escape_is_literal
+------------------------------------------------------------------
+ Bra
+ x{d800}
+ Ket
+ End
+------------------------------------------------------------------
+
+/\ud800/B,utf,alt_bsux,bad_escape_is_literal
+------------------------------------------------------------------
+ Bra
+ ud800
+ Ket
+ End
+------------------------------------------------------------------
+
+# ----------------------------------------------------------------------
# End of testinput5