From 40f6664acea120b33a3c557669bb70b2d83a24b0 Mon Sep 17 00:00:00 2001 From: kosako Date: Fri, 16 Dec 2016 17:45:46 +0900 Subject: [PATCH] add test for PR#44 --- test/testc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/testc.c b/test/testc.c index 5826011..30df310 100644 --- a/test/testc.c +++ b/test/testc.c @@ -582,6 +582,8 @@ 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, 0); x2("¤¢", "¤¢", 0, 2); n("¤¤", "¤¢"); -- 2.40.0