RegexMatcher

class RegexMatcher(pattern: String, start: State, nfa: List<State>)

Types

Companion
Link copied to clipboard
common
object Companion
MatchResult
Link copied to clipboard
common
data class MatchResult(matchedText: String, eolPositions: List<Int>)

Functions

match
Link copied to clipboard
common
fun match(text: CharSequence, startPosition: Int = 0): RegexMatcher.MatchResult?
matches
Link copied to clipboard
common
fun matches(matcher: CharacterMatcher, text: CharSequence, pos: Int): Boolean
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

nfa
Link copied to clipboard
common
val nfa: List<State>
pattern
Link copied to clipboard
common
val pattern: String
start
Link copied to clipboard
common
val start: State
startStates
Link copied to clipboard
common
val startStates: Array<State>