]> granicus.if.org Git - onig/commitdiff
small update doc/RE
authorK.Kosako <kosako@sofnec.co.jp>
Mon, 7 Aug 2017 06:34:54 +0000 (15:34 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Mon, 7 Aug 2017 06:34:54 +0000 (15:34 +0900)
doc/RE
doc/RE.ja

diff --git a/doc/RE b/doc/RE
index 16cc88863ee045cca348e6bd06c89037b68f7149..6ecd4d80e742612a6203eebbef4020891e70e597 100644 (file)
--- a/doc/RE
+++ b/doc/RE
@@ -1,4 +1,4 @@
-Oniguruma Regular Expressions Version 6.5.0    2017/07/30
+Oniguruma Regular Expressions Version 6.5.0    2017/08/07
 
 syntax: ONIG_SYNTAX_RUBY (default)
 
@@ -245,20 +245,20 @@ syntax: ONIG_SYNTAX_RUBY (default)
   (?~absent)         Absent repeater    (* proposed by Tanaka Akira)
                      This works like .* (more precisely \O*), but it is
                      limited by the range that does not include the string
-                     match with absent.
+                     match with <absent>.
                      This is a written abbreviation of (?~|absent|\O*).
                      \O* is used as a repeater.
 
   (?~|absent|exp)    Absent expression  (* original)
                      This works like "exp", but it is limited by the range
-                     that does not include the string match with absent.
+                     that does not include the string match with <absent>.
 
                      ex. (?~|345|\d*)  "12345678"  ==> "12", "1", ""
 
   (?~|absent)        Absent cutter (* original)
                      After passed this operator, string right range is limited
                      at the point that does not include the string match whth
-                     absent.
+                     <absent>.
 
   (?~|)              Absent clear
                      Clear the effects caused by Absent cutters.
@@ -273,7 +273,7 @@ syntax: ONIG_SYNTAX_RUBY (default)
 
                condition_exp can be a backreference number/name or a normal
                regular expression.
-               When condition_exp is a backreference, both then_exp and
+               When condition_exp is a backreference number/name, both then_exp and
                else_exp can be omitted.
                Then it works as a backreference validity checker.
 
index c05468df0079312ce49598dc90a3fd3bad0073ab..ab81e9e8fbaecdc0bc6af8e734faf113e7989957 100644 (file)
--- a/doc/RE.ja
+++ b/doc/RE.ja
@@ -1,4 +1,4 @@
-鬼車 正規表現 Version 6.5.0    2017/07/30
+鬼車 正規表現 Version 6.5.0    2017/08/07
 
 使用文法: ONIG_SYNTAX_RUBY (既定値)
 
   <不在機能群>
 
   (?~不在式)        不在繰り返し  (*原案 田中哲)
-                    これは.*のように(より正確には\O*)動作するが、不在式に
+                    これは.*(より正確には\O*)のように動作するが、不在式に
                     適合する文字列を含まない範囲に制限される。
                     これは(?~|不在式|\O*)の省略表記である。
-                    \O*の部分はマルチラインオプション(?m)の影響を受けない。
 
   (?~|不在式|式)    不在式  (* 原作)
                     これは"式"のように動作するが、不在式に適合する文字列を
                               今のところエラーにはしない。)
 
 
-                    æ\9d¡ä»¶å¼\8fã\81¯å¾\8cæ\96¹å\8f\82ç\85§ã\81¾ã\81\9fã\81¯é\80\9a常の式を使用できる。
+                    æ\9d¡ä»¶å¼\8fã\81¯å¾\8cæ\96¹å\8f\82ç\85§ã\81®ç\95ªå\8f·/å\90\8då\89\8dã\81¾ã\81\9fã\81¯æ\99®é\80\9aの式を使用できる。
                     条件式が後方参照の場合、成功式と失敗式の両方を省略可能であり、
                     この場合、後方参照値有効性を調べる(成功/失敗)機能のみになる。