]> granicus.if.org Git - onig/commitdiff
use (*MON) argument
authorK.Kosako <kkosako0@gmail.com>
Fri, 2 Mar 2018 14:08:21 +0000 (23:08 +0900)
committerK.Kosako <kkosako0@gmail.com>
Fri, 2 Mar 2018 14:08:21 +0000 (23:08 +0900)
sample/callout.c

index 7561d1c429d6316b799e015defd8a289d2f9cdce..0bf44510db221b952983defc784bc39a6cd1e005 100644 (file)
@@ -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;