From 03c006cfda40d5218d2248674ddc3824f8169897 Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 6 Feb 2019 18:11:36 +0000 Subject: 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 --- testdata/testinput5 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'testdata/testinput5') 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 -- cgit v1.2.1