]> granicus.if.org Git - onig/commitdiff
follow spec. change of (*MON{})
authorK.Kosako <kosako@sofnec.co.jp>
Thu, 8 Mar 2018 03:29:02 +0000 (12:29 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 8 Mar 2018 03:29:02 +0000 (12:29 +0900)
sample/callout.c

index c9679bdbc8eb97836ebba00cfac5ae6c93c137c2..012f00af0f343a0bc932209eb1ec32a4badd5311 100644 (file)
@@ -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;