]> granicus.if.org Git - onig/commitdiff
small update for doc/CALLOUTS.BUILTIN
authorK.Kosako <kosako@sofnec.co.jp>
Mon, 26 Mar 2018 01:56:08 +0000 (10:56 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Mon, 26 Mar 2018 01:56:08 +0000 (10:56 +0900)
doc/CALLOUTS.BUILTIN
doc/CALLOUTS.BUILTIN.ja

index 0d87887c9f6cc9814d8f531177721c42f04e58a6..999e94c263a049906f2dc0529b941a39911387c3 100644 (file)
@@ -12,15 +12,15 @@ CALLOUTS.BUILTIN               2018/03/26
 
   (*MISMATCH)
 
-  Terminate Match process.
-  Continue Search process.
+  Terminates Match process.
+  Continues Search process.
 
 
 * ERROR    (progress)
 
   (*ERROR{n::LONG})
 
-  Terminate Search/Match process.
+  Terminates Search/Match process.
 
   Return value is the argument 'n'. (The value must be less than -1)
   'n' is an optional argument. (default value is ONIG_ABORT)
@@ -30,10 +30,10 @@ CALLOUTS.BUILTIN               2018/03/26
 
   (*MAX{n::LONG/TAG})
 
-  Restrict the maximum count of success.
-  If 'n' values are tag, slot 0 value of the tag are used.
+  Restricts the maximum count of success.
+  If 'n' type is tag, slot 0 value of the tag are used.
 
-  ex. "(?:(*MAX[T]{3})a)*(?:(*MAX{T})c)*"
+  ex. "(?:(*COUNT[T]{X})a)*(?:(*MAX{T})c)*"
 
   [callout data]
   slot 0: current success count.
@@ -79,8 +79,8 @@ CALLOUTS.BUILTIN               2018/03/26
 
   (*CMP{x::TAG/LONG, op::STRING, y::TAG/LONG})
 
-  Compare x value and y value with op operator.
-  If x and y values are tag, slot 0 value of the tag are used.
+  Compares x value and y value with op operator.
+  If x and y types are tag, slot 0 value of the tag are used.
 
   op: '==', '!=', '>', '<', '>=', '<='
 
index cc6e65badf4a5de58c04e590cfa075a3e5bd1a70..828ace77352b0fd2e7b6299fcfa92212cf79a625 100644 (file)
@@ -1,4 +1,4 @@
-CALLOUTS.BUILTIN.ja               2018/03/22
+CALLOUTS.BUILTIN.ja               2018/03/26
 
 
 * FAIL    (前進)
@@ -30,7 +30,9 @@ CALLOUTS.BUILTIN.ja               2018/03/22
   (*MAX{n::LONG/TAG})
 
   成功回数を制限する
-  'n'の値がTAGのときは、そのTAGのcalloutのslot 0の値が使用される
+  'n'がTAGのときは、そのTAGのcalloutのslot 0の値が使用される
+
+  例:  "(?:(*COUNT[T]{X})a)*(?:(*MAX{T})c)*"
 
   [callout data]
   slot 0: 現在の成功回数