]> granicus.if.org Git - onig/commitdiff
minor changes in doc/RE
authorK.Kosako <kosako@sofnec.co.jp>
Thu, 28 Mar 2019 05:29:34 +0000 (14:29 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 28 Mar 2019 05:29:34 +0000 (14:29 +0900)
doc/RE
doc/RE.ja

diff --git a/doc/RE b/doc/RE
index 65346bc553f3486fa1759f3ee8c5a1d351adcfbb..a14a8ea2eeb5cd0470afc5be63531f74ade0d9d6 100644 (file)
--- a/doc/RE
+++ b/doc/RE
@@ -1,4 +1,4 @@
-Oniguruma Regular Expressions Version 6.9.2    2019/03/26
+Oniguruma Regular Expressions Version 6.9.2    2019/03/28
 
 syntax: ONIG_SYNTAX_ONIGURUMA (default)
 
@@ -81,7 +81,7 @@ syntax: ONIG_SYNTAX_ONIGURUMA (default)
 
   \O       true anychar      (?m:.)    (* original function)
 
-  \X       Text Segment    (?>\O(?:\Y\O)*)
+  \X       Text Segment    \X === (?>\O(?:\Y\O)*)
 
            The meaning of this operator changes depending on the setting of
            the option (?y{..}).
@@ -93,7 +93,7 @@ syntax: ONIG_SYNTAX_ONIGURUMA (default)
              Unicode case:
                See [Unicode Standard Annex #29: http://unicode.org/reports/tr29/]
 
-             Not Unicode:   (?>\r\n|\O)
+             Not Unicode case:  \X === (?>\r\n|\O)
 
            [Word mode]
              Currently, this mode is supported in Unicode only.
@@ -147,8 +147,8 @@ syntax: ONIG_SYNTAX_ONIGURUMA (default)
     *+      0 or more times
     ++      1 or more times
 
-    ({n,m}+, {n,}+, {n}+ are possessive op.
-     in ONIG_SYNTAX_JAVA and ONIG_SYNTAX_PERL only)
+    {n,m}+, {n,}+, {n}+ are possessive operators in ONIG_SYNTAX_JAVA and
+    ONIG_SYNTAX_PERL only.
 
     ex. /a*+/ === /(?>a*)/
 
@@ -368,7 +368,7 @@ syntax: ONIG_SYNTAX_ONIGURUMA (default)
                else_exp can be omitted.
                Then it works as a backreference validity checker.
 
-  [ backreference validity checker ]   (* original)
+  [ Backreference validity checker ]   (* original)
 
     (?(n)), (?(-n)), (?(+n)), (?(n+level)) ...
     (?(<n>)), (?('-n')), (?(<+n>)) ...
index aae3008bac6f7a1bcab34ae7428c1d086ac43802..f5d3d323880207f2e923d5f2925c44d4d8e0e5eb 100644 (file)
--- a/doc/RE.ja
+++ b/doc/RE.ja
@@ -1,4 +1,4 @@
-鬼車 正規表現 Version 6.9.2    2019/03/26
+鬼車 正規表現 Version 6.9.2    2019/03/28
 
 使用文法: ONIG_SYNTAX_ONIGURUMA (既定値)
 
@@ -81,7 +81,7 @@
 
   \O       真任意文字  (?m:.)      (* 原作)
 
-  \X       文章区分    (?>\O(?:\Y\O)*)
+  \X       文章区分    \X === (?>\O(?:\Y\O)*)
 
            この演算子の意味は、オプション (?y{..})の設定によって変化する。
 
@@ -92,7 +92,7 @@
              Unicodeの場合:
                参照 [Unicode Standard Annex #29: http://unicode.org/reports/tr29/]
 
-             Unicode以外の場合:   (?>\r\n|\O)
+             Unicode以外の場合:  \X === (?>\r\n|\O)
 
            [単語-状態のとき]
              現在、Unicodeしかサポートしていない。
     *+      零回以上
     ++      一回以上
 
-    ({n,m}+, {n,}+, {n}+ は、ONIG_SYNTAX_JAVAとONIG_SYNTAX_PERLでのみ強欲な指定子)
+    {n,m}+, {n,}+, {n}+ は、ONIG_SYNTAX_JAVAとONIG_SYNTAX_PERLでのみ強欲な指定子
 
     例. /a*+/ === /(?>a*)/
 
 
 
   \y      文章区分 境界
-  \Y      文章 非境界
+  \Y      文章区分 非境界
 
           この演算子の意味は、オプション (?y{..})の設定によって変化する。