From 9cc3a360e4d47084c93914ac63bb914083b74e28 Mon Sep 17 00:00:00 2001 From: kosako Date: Mon, 19 Dec 2016 13:40:11 +0900 Subject: [PATCH] add test for PR#43 --- test/testc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/testc.c b/test/testc.c index 74c4506..fbad340 100644 --- a/test/testc.c +++ b/test/testc.c @@ -582,8 +582,10 @@ extern int main(int argc, char* argv[]) x2("(?:()|()|()|()|()|())*\\2\\5", "", 0, 0); x2("(?:()|()|()|(x)|()|())*\\2b\\5", "b", 0, 1); x2("\\xED\\xF2", "\xed\xf2", 0, 2); - x2("[0-9-a]", "-", 0, 1); - n("[0-9-a]", ":"); + x2("[0-9-a]", "-", 0, 1); // PR#44 + n("[0-9-a]", ":"); // PR#44 + x3("(\\(((?:[^(]|\\g<1>)*)\\))", "(abc)(abc)", 1, 4, 2); // PR#43 + x2("", "¤¢", 0, 0); x2("¤¢", "¤¢", 0, 2); n("¤¤", "¤¢"); -- 2.40.0