From: K.Kosako Date: Mon, 2 Apr 2018 09:07:40 +0000 (+0900) Subject: update doc/RE about (?{{{...}}}) X-Git-Tag: v6.8.2^2~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bd764d30e2aa349795de900fb35aeb5426c7c82;p=onig update doc/RE about (?{{{...}}}) --- diff --git a/doc/RE b/doc/RE index 4bd0e7d..2b70b93 100644 --- a/doc/RE +++ b/doc/RE @@ -1,4 +1,4 @@ -Oniguruma Regular Expressions Version 6.8.0 2018/03/08 +Oniguruma Regular Expressions Version 6.8.0 2018/04/02 syntax: ONIG_SYNTAX_ONIGURUMA (default) @@ -273,6 +273,13 @@ syntax: ONIG_SYNTAX_ONIGURUMA (default) (?{...contents...}[tag]) tag assigned (?{...contents...}[tag]D) + * Escape characters have no effects in contents. + * contents is not allowed to start with '{'. + + (?{{{...contents...}}}) n times continuations '}' in contents is allowed in + (n+1) times continuations {{{...}}}. + + * Callouts of name (*name) (*name{args...}) with args diff --git a/doc/RE.ja b/doc/RE.ja index a7f6b8d..f75ba9b 100644 --- a/doc/RE.ja +++ b/doc/RE.ja @@ -1,4 +1,4 @@ -鬼車 正規表現 Version 6.8.0 2018/03/08 +鬼車 正規表現 Version 6.8.0 2018/04/02 使用文法: ONIG_SYNTAX_ONIGURUMA (既定値) @@ -274,6 +274,12 @@ (?{...contents...}[tag]) 名札付き (?{...contents...}[tag]D) + * エスケープ文字はcontentsの中で何の機能も持たない + * contentsは、'{'文字で始まってはならない + + (?{{{...contents...}}}) contentsの中のn個連続の'}'は、(n+1)個連続の{{{...}}} + の中で許される + * 名前の呼び出し (*name) (*name{args...}) 引数付き