]> granicus.if.org Git - onig/commitdiff
rename Absent-clear to Range-clear
authorK.Kosako <kosako@sofnec.co.jp>
Thu, 24 Aug 2017 02:13:40 +0000 (11:13 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Thu, 24 Aug 2017 02:13:40 +0000 (11:13 +0900)
HISTORY
README.md
doc/RE
src/regparse.c

diff --git a/HISTORY b/HISTORY
index 4daedb602473ae19fa20367646d48537099a3abc..ca51817344387323af9e30be6bcea5b7eefc07b4 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -2,6 +2,7 @@ History
 
 2017/08/28: Version 6.6.0
 
+2017/08/24: rename Absent clear to Range clear
 2017/08/21: [new] Extended Grapheme Cluster \X and boundary \y, \Y
 2017/08/17: fix: invalid index(ctype) value assigned to Unicode Block properties
 2017/08/16: --enable-crnl-as-line-terminator to be deprecated
index 5f63aa5e7ab633cea1b870ab77ebd9ee13696fce..33e07ee7055068797b36948f7527f769c9a0d0bd 100644 (file)
--- a/README.md
+++ b/README.md
@@ -30,9 +30,9 @@ New feature of version 6.6.0
 --------------------------
 
 * NEW: ASCII only mode options for character type/property (?WDSP)
-* NEW: \y, \Y  Extended Grapheme Cluster boundary (*original)
-* NEW: \X  Extended Grapheme Cluster
-* Absent-clear operator restores previous range in backtrack.
+* NEW: Extended Grapheme Cluster boundary \y, \Y (*original)
+* NEW: Extended Grapheme Cluster \X
+* Range-clear (renamed from Absent-clear) operator restores previous range in backtrack.
 
 
 New feature of version 6.5.0
diff --git a/doc/RE b/doc/RE
index 92b4728791cf7470ab674b1083ab6c0881a6f8ae..e8ebe3782e89ab310e78a44c0cafb8e9f46795b3 100644 (file)
--- a/doc/RE
+++ b/doc/RE
@@ -1,4 +1,4 @@
-Oniguruma Regular Expressions Version 6.6.0    2017/08/21
+Oniguruma Regular Expressions Version 6.6.0    2017/08/24
 
 syntax: ONIG_SYNTAX_RUBY (default)
 
@@ -281,7 +281,7 @@ syntax: ONIG_SYNTAX_RUBY (default)
                      at the point that does not include the string match whth
                      <absent>.
 
-  (?~|)              Absent clear
+  (?~|)              Range clear
                      Clear the effects caused by Absent stoppers.
 
      * Nested Absent functions are not supported and the behavior
index 2edf250f1c4953d6f14f8fc593af05c1c754b735..520137aa6a3a38eededbcaea1bbd714d6cefe8bc 100644 (file)
@@ -1780,7 +1780,7 @@ make_absent_tail(Node** node1, Node** node2, int pre_save_right_id,
 }
 
 static int
-make_absent_clear(Node** node, ScanEnv* env)
+make_range_clear(Node** node, ScanEnv* env)
 {
   int r;
   int id;
@@ -5485,9 +5485,9 @@ parse_enclosure(Node** np, OnigToken* tok, int term, UChar** src, UChar* end,
           if (PEND) return ONIGERR_END_PATTERN_IN_GROUP;
 
           head_bar = 1;
-          if (PPEEK_IS(')')) { // (?~|)  : absent clear
+          if (PPEEK_IS(')')) { // (?~|)  : range clear
             PINC;
-            r = make_absent_clear(np, env);
+            r = make_range_clear(np, env);
             if (r != 0) return r;
             goto end;
           }