From 0f20afad67b6460ae5f5a56a8f6e99afa1375cf2 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Mon, 1 Apr 2019 16:30:34 +0900 Subject: [PATCH] add some test cases for U+32FF --- test/test_utf8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_utf8.c b/test/test_utf8.c index 44b1596..325d20f 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -1202,6 +1202,8 @@ extern int main(int argc, char* argv[]) x2("a{3,2}?", "", 0, 0); /* == (?:a{3,2})?*/ x2("a{2,3}+a", "aaa", 0, 3); /* == (?:a{2,3})+*/ + x2("\\p{Common}", "\xe3\x8b\xbf", 0, 3); /* U+32FF */ + x2("\\p{In_Enclosed_CJK_Letters_and_Months}", "\xe3\x8b\xbf", 0, 3); /* U+32FF */ e("\\u040", "@", ONIGERR_INVALID_CODE_POINT_VALUE); e("(?\\g)", "zzzz", ONIGERR_NEVER_ENDING_RECURSION); -- 2.40.0