class

Highlight::EnhancedMatch

Inherits Reference < Object

Совпадение «как в JS» после splice из MultiRegex: [0] — текст совпавшей альтернативы, [1..] — её группы; index абсолютный.

Instance methods

[](i : Int32) : String | Nil
Source
groups
Source
groups=(groups : Array(String | Nil))
Source
index
Source
index=(index : Int32)
Source
input
Source
input=(input : String)
Source
position
Source
position=(position : Int32)
Source
rule
Source
rule=(rule : Mode | Nil)
Source
text
Source
text=(text : String)
Source
type
Source
type=(type : String | Nil)
Source