(*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)
(*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.
(*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: '==', '!=', '>', '<', '>=', '<='
-CALLOUTS.BUILTIN.ja 2018/03/22
+CALLOUTS.BUILTIN.ja 2018/03/26
* FAIL (前進)
(*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: 現在の成功回数