summaryrefslogtreecommitdiff
path: root/test/test_utf8.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-05-04 18:26:00 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-05-04 18:26:00 +0200
commita7c6cf32519f775b01975b104a0c8da3c76beab5 (patch)
treece8bdf27499179198a1f264a29d34a93c3c92902 /test/test_utf8.c
parentfd4ff4e58174679784d7698880717eefc9399ba7 (diff)
parent0ad6ddc1cbc5b0f36547798994b352a09ae5cf1c (diff)
Merge branch 'feature/upstream' into develop
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);