From: K.Kosako Date: Wed, 14 Mar 2018 02:24:46 +0000 (+0900) Subject: use builtin (*MISMATCH) test case X-Git-Tag: v6.8.0~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe439fb7632d404cdfe8e5d062c3d2a8a338fd53;p=onig use builtin (*MISMATCH) test case --- diff --git a/sample/callout.c b/sample/callout.c index ee4c702..b2641e5 100644 --- a/sample/callout.c +++ b/sample/callout.c @@ -229,6 +229,7 @@ extern int main(int argc, char* argv[]) // callout of name test(enc, "\\A(*foo)abc", "abc"); test(enc, "abc(?:(*FAIL)|$)", "abcabc"); + test(enc, "abc(?:$|(*MISMATCH)|abc$)", "abcabc"); test(enc, "abc(?:(*ABORT)|$)", "abcabc"); test(enc, "ab(*foo{})(*FAIL)", "abc"); test(enc, "abc(d|(*ERROR{-999}))", "abc");