summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-05-28 14:14:22 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-05-28 14:14:22 +0000
commit0db7752db847fecaf0717312d3fd284b2b69ca26 (patch)
treecf890d35434135f06d188cfcaf8c66ae0702e05f /testdata
parent5f64abb60f3a1299f7c4eb81a8e2128973cc16e3 (diff)
downloadpcre2-0db7752db847fecaf0717312d3fd284b2b69ca26.tar.gz
Add support for invalid UTF-8 matching to pcre2grep.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1096 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata')
-rw-r--r--testdata/grepoutput811
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/grepoutput8 b/testdata/grepoutput8
index aaed6ae..1bac20b 100644
--- a/testdata/grepoutput8
+++ b/testdata/grepoutput8
@@ -18,3 +18,14 @@ RC=0
22:6,2
22:8,2
RC=0
+---------------------------- Test U4 ------------------------------
+pcre2grep: pcre2_match() gave error -22 while matching this text:
+
+Aက€CD Z
+
+UTF-8 error: isolated byte with 0x80 bit set at offset 4
+
+RC=1
+---------------------------- Test U5 ------------------------------
+CD Z
+RC=0