From: K.Kosako Date: Thu, 8 Mar 2018 03:29:02 +0000 (+0900) Subject: follow spec. change of (*MON{}) X-Git-Tag: v6.8.0~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=418fbac7b03f5f1e292bb257c0429edf270cd5c3;p=onig follow spec. change of (*MON{}) --- diff --git a/sample/callout.c b/sample/callout.c index c9679bd..012f00a 100644 --- a/sample/callout.c +++ b/sample/callout.c @@ -255,7 +255,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{X})(*FAIL)|.{,3}(*MON[FOO])k)", "abcdefghijk"); onig_end(); return 0;