summaryrefslogtreecommitdiff
path: root/pcre_jit_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcre_jit_test.c')
-rw-r--r--pcre_jit_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pcre_jit_test.c b/pcre_jit_test.c
index c8daffb..1c247c5 100644
--- a/pcre_jit_test.c
+++ b/pcre_jit_test.c
@@ -640,6 +640,10 @@ static struct regression_test_case regression_test_cases[] = {
{ MUA, 0, "(?(R0)aa|bb(?R))", "abba aabb bbaa" },
{ MUA, 0, "((?(R)(?:aaaa|a)|(?:(aaaa)|(a)))+)(?1)$", "aaaaaaaaaa aaaa" },
{ MUA, 0, "(?P<Name>a(?(R&Name)a|b))(?1)", "aab abb abaa" },
+ { MUA, 0, "((?(R)a|(?1)){3})", "XaaaaaaaaaX" },
+ { MUA, 0, "((?:(?(R)a|(?1))){3})", "XaaaaaaaaaX" },
+ { MUA, 0, "((?(R)a|(?1)){1,3})aaaaaa", "aaaaaaaaXaaaaaaaaa" },
+ { MUA, 0, "((?(R)a|(?1)){1,3}?)M", "aaaM" },
/* 16 bit specific tests. */
{ CMA, 0 | F_FORCECONV, "\xc3\xa1", "\xc3\x81\xc3\xa1" },