From: K.Kosako Date: Thu, 8 Mar 2018 03:23:20 +0000 (+0900) Subject: follow spec. change of (*COUNT) X-Git-Tag: v6.8.0~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a218881076615b0d81a7914479c800513dabc01;p=onig follow spec. change of (*COUNT) --- diff --git a/sample/count.c b/sample/count.c index 272d64a..20a21f7 100644 --- a/sample/count.c +++ b/sample/count.c @@ -110,9 +110,9 @@ extern int main(int argc, char* argv[]) test(encs[0], mp, "abc(.(*COUNT[x]))*(*FAIL)", "abcdefg"); test(encs[0], mp, "abc(.(*COUNT[_any_]))*(.(*COUNT[x]))*d", "abcdefg"); /* fail count */ - test(encs[0], mp, "abc(.(*COUNT[x]{-}))*f", "abcdefg"); + test(encs[0], mp, "abc(.(*COUNT[x]{<}))*f", "abcdefg"); /* success count */ - test(encs[0], mp, "abc(.(*COUNT[x]{+}))*f", "abcdefg"); + test(encs[0], mp, "abc(.(*COUNT[x]{X}))*f", "abcdefg"); /* passed count */ test(encs[0], mp, "abc(.(*COUNT[x]))*f", "abcdefg"); test(encs[0], mp, "a(.(*COUNT[x]))*z", "abcd\nabcdz");