summaryrefslogtreecommitdiff
path: root/testdata/testinput5
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-02-06 18:11:36 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-02-06 18:11:36 +0000
commit03c006cfda40d5218d2248674ddc3824f8169897 (patch)
tree8bfb007e8adba8eb8e1256afba09001b52509905 /testdata/testinput5
parent2aee0809b4ec6f9c2fdbb33a0c200b17a9fd333c (diff)
downloadpcre2-03c006cfda40d5218d2248674ddc3824f8169897.tar.gz
Allow non-ASCII in group names when UTF is set; revise group naming terminology
in documentation to use "capture group", as Perl does. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1066 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput5')
-rw-r--r--testdata/testinput515
1 files changed, 15 insertions, 0 deletions
diff --git a/testdata/testinput5 b/testdata/testinput5
index c57ebeb..3e7701e 100644
--- a/testdata/testinput5
+++ b/testdata/testinput5
@@ -2149,4 +2149,19 @@
# -------
+# Test reference and errors in non-ASCII characters in group names
+
+/(?'𑠅ABC'...)/I,utf
+ abcde\=copy=𑠅ABC
+
+# Bad ones
+
+/(?'AB၌C'...)\g{AB၌C}/utf
+
+/(?'٠ABC'...)/utf
+
+/(?'²ABC'...)/utf
+
+/(?'X²ABC'...)/utf
+
# End of testinput5