From 558e5d3dea8547bd57f786a9e7bed6b9097b8358 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Fri, 21 Sep 2018 15:49:32 +0900 Subject: [PATCH] add some test cases --- test/test_utf8.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_utf8.c b/test/test_utf8.c index 13a8830..9601c46 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -272,6 +272,10 @@ extern int main(int argc, char* argv[]) x2("(?i:a)", "a", 0, 1); x2("(?i:a)", "A", 0, 1); x2("(?i:A)", "a", 0, 1); + x2("(?i:i)", "I", 0, 1); + x2("(?i:I)", "i", 0, 1); + x2("(?i:[A-Z])", "i", 0, 1); + x2("(?i:[a-z])", "I", 0, 1); n("(?i:A)", "b"); x2("(?i:[A-Z])", "a", 0, 1); x2("(?i:[f-m])", "H", 0, 1); -- 2.40.0