]> granicus.if.org Git - onig/commitdiff
update doc/RE about default generator of absent group
authorK.Kosako <kosako@sofnec.co.jp>
Mon, 17 Jul 2017 23:56:27 +0000 (08:56 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Mon, 17 Jul 2017 23:56:27 +0000 (08:56 +0900)
doc/RE
doc/RE.ja

diff --git a/doc/RE b/doc/RE
index c899dbdb9ad31c6ad11fc1daaf873757b92b6028..f7f086fdecbeb6138f69c7c869c85b4d4e1dda40 100644 (file)
--- a/doc/RE
+++ b/doc/RE
@@ -1,4 +1,4 @@
-Oniguruma Regular Expressions Version 6.5.0    2017/07/14
+Oniguruma Regular Expressions Version 6.5.0    2017/07/18
 
 syntax: ONIG_SYNTAX_RUBY (default)
 
@@ -241,10 +241,11 @@ syntax: ONIG_SYNTAX_RUBY (default)
                      Assigning the same name to two or more subexps is allowed.
 
   (?~absent_exp)     Absent group    (* proposed by Tanaka Akira)
-                     This works like ".*", but it is limited by the range that
-                     does not include the string match with absent_exp.
-                     ".*" is used as a default generator.
-                     Therefore this is affected by the multi-line option (?m).
+                     This works like .* (more precisely \O*), but it is
+                     limited by the range that does not include the string
+                     match with absent_exp.
+                     \O* is used as a default generator.
+                     Therefore this is not affected by the multi-line option (?m).
 
   (?~|generator|absent_exp)   Absent group with custom generator  (* original)
                               Generator must be a greedy or possessive quantifier.
index 1e7b7420debfec01c091bc5be7935c609d8793f3..99d57e1cc72e8343708a895666b301210b1299b9 100644 (file)
--- a/doc/RE.ja
+++ b/doc/RE.ja
@@ -1,4 +1,4 @@
-鬼車 正規表現 Version 6.5.0    2017/07/15
+鬼車 正規表現 Version 6.5.0    2017/07/18
 
 使用文法: ONIG_SYNTAX_RUBY (既定値)
 
                     部分式呼出しはできない。
 
   (?~不在式)        不在式集合     (* 原案 田中哲)
-                    これは".*"のように動作するが、不在式に適合する文字列を
-                    含まない範囲に制限される。
-                    ".*"が既定の生成子として使用される。
+                    これは.*のように(より正確には\O*)動作するが、不在式に適合する
+                    文字列を含まない範囲に制限される。
+                    \O*が既定の生成子として使用される。
                     そのため、マルチラインオプション(?m)の影響を受ける。
 
                     不在式が長さ0でマッチングする可能性があれば、常に失敗する。