From: K.Kosako Date: Fri, 2 Mar 2018 14:08:21 +0000 (+0900) Subject: use (*MON) argument X-Git-Tag: v6.8.0~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f590179e7e7b5b8524755fec29d67c47936847b8;p=onig use (*MON) argument --- diff --git a/sample/callout.c b/sample/callout.c index 7561d1c..0bf4451 100644 --- a/sample/callout.c +++ b/sample/callout.c @@ -256,7 +256,7 @@ extern int main(int argc, char* argv[]) /* monitor test */ //test(enc, "(?:(*MON)(*MAX{3})a(*MON{foo})|(*MAX{4})b)*", "bbbaabbab"); - test(enc, "(?:(*MON)(*FAIL)|.{,3}(*MON[X])k)", "abcdefghijk"); + test(enc, "(?:(*MON{+})(*FAIL)|.{,3}(*MON[X])k)", "abcdefghijk"); onig_end(); return 0;