]> granicus.if.org Git - onig/commitdiff
follow callout of name syntax change
authorK.Kosako <kosako@sofnec.co.jp>
Wed, 14 Feb 2018 07:37:32 +0000 (16:37 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Wed, 14 Feb 2018 07:37:32 +0000 (16:37 +0900)
sample/callout.c

index 32c95257928564bbb1397aa9aed64604210dccc5..ed21a85463e0d2a10bc9c3b0c8c13bbe6487a430 100644 (file)
@@ -185,8 +185,8 @@ extern int main(int argc, char* argv[])
   test("abc(*SUCCESS)", "abcabc");
   test("abc(?:(*FAIL)|$)", "abcabc");
   test("abc(?:(*ABORT)|$)", "abcabc");
-  test("ab(*foo+:will be fail.)(*FAIL)", "abc");
-  test("abc(d|(*ERROR:-999))", "abc");
+  test("ab(*foo+{will be fail.})(*FAIL)", "abc");
+  test("abc(d|(*ERROR{-999}))", "abc");
 
   onig_end();
   return 0;