From: K.Kosako Date: Fri, 23 Aug 2019 06:38:10 +0000 (+0900) Subject: add a test cases X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d995522f95f2e388ec7d34d3757feb3f689ffb5;p=onig add a test cases --- diff --git a/test/test_utf8.c b/test/test_utf8.c index b8550f2..21acff8 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -1207,6 +1207,7 @@ extern int main(int argc, char* argv[]) x2("((?(a)\\g<1>|b))", "aab", 0, 3); x2("((?(a)\\g<1>))", "aab", 0, 2); + x2("(b(?(a)|\\g<1>))", "bba", 0, 3); n(" \xfd", ""); /* https://bugs.php.net/bug.php?id=77370 */ /* can't use \xfc00.. because compiler error: hex escape sequence out of range */