From 6479ac7ea1d0941b59933b6be36228e24d526131 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Tue, 4 Jul 2017 14:48:06 +0900 Subject: [PATCH] add test cases for backref checker --- test/testc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/testc.c b/test/testc.c index 725e375..a58037d 100644 --- a/test/testc.c +++ b/test/testc.c @@ -590,6 +590,9 @@ extern int main(int argc, char* argv[]) x2("\\g<+2>(abc)(ABC){0}", "ABCabc", 0, 6); // relative call by positive number x2("A\\g'0'|B()", "AAAAB", 0, 5); x3("(A\\g'0')|B", "AAAAB", 0, 5, 1); + x2("(a*)(?(1))aa", "aaaaa", 0, 5); + x2("(a*)(?(-1))aa", "aaaaa", 0, 5); + x2("(?aaa)(?('name'))aa", "aaaaa", 0, 5); /* < ifndef IGNORE_EUC_JP > -- 2.40.0