summaryrefslogtreecommitdiff
path: root/test/test_utf8.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-09-05 21:54:15 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-09-05 21:54:15 +0200
commit6bf91b141b7b3e3524f422d4c18bccf7f87aecd1 (patch)
tree854398618f6cbc5187abe5651a2bb75a17ba9b7c /test/test_utf8.c
parent6dcf2054b927e3bd6889ae8eec0f9b5669fcb025 (diff)
parent777189a11acf313a6f2f2255a475b40d4330ff65 (diff)
Merge branch 'release/debian/6.8.2-1'debian/6.8.2-1
Diffstat (limited to 'test/test_utf8.c')
-rw-r--r--test/test_utf8.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_utf8.c b/test/test_utf8.c
index 286158d..bd3ed16 100644
--- a/test/test_utf8.c
+++ b/test/test_utf8.c
@@ -595,6 +595,10 @@ extern int main(int argc, char* argv[])
x2("a\\Kb", "ab", 1, 2);
x2("(a\\Kb|ac\\Kd)", "acd", 2, 3);
x2("(a\\Kb|\\Kac\\K)*", "acababacab", 9, 10);
+ x2("(?:()|())*\\1", "abc", 0, 0);
+ x2("(?:()|())*\\2", "abc", 0, 0);
+ x2("(?:()|()|())*\\3\\1", "abc", 0, 0);
+ x2("(|(?:a(?:\\g'1')*))b|", "abc", 0, 2);
x2("(?~)", "", 0, 0);
x2("(?~)", "A", 0, 0);