From: K.Kosako Date: Sun, 4 Mar 2018 15:25:47 +0000 (+0900) Subject: use tag in callouts of contents X-Git-Tag: v6.8.0~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=223fa1b1938d06c3e13be35d6a9ac1ba5545d8bb;p=onig use tag in callouts of contents --- diff --git a/sample/callout.c b/sample/callout.c index 3e6f737..54080d2 100644 --- a/sample/callout.c +++ b/sample/callout.c @@ -234,9 +234,9 @@ extern int main(int argc, char* argv[]) // callout of contents test(enc, "a+(?{foo bar baz...}+)$", "aaab"); - test(enc, "(?{{!{}#$%&'()=-~^|[_]`@*:+;<>?/.\\,}})c", "abc"); + test(enc, "(?{{!{}#$%&'()=-~^|[_]`@*:+;<>?/.\\,}}[symbols])c", "abc"); test(enc, "\\A(...)(?{{{booooooooooooo{{ooo}}ooooooooooz}}}-)", "aaab"); - test(enc, "\\A(?!a(?{prec-read-not}+)b)", "ac"); + test(enc, "\\A(?!a(?{prec-read-not}[xxx]+)b)", "ac"); test(enc, "(?