RegexLexer

constructor(source: CharSequence, patterns: List<TokenRegexPattern>)

Parameters

source

the content to be tokenized

patterns

the patterns to search for, in descending order of priority