Package net.akehurst.language.agl.regex

Types

CharacterMatcher
Link copied to clipboard
common
class CharacterMatcher(kind: MatcherKind, literal: Char, max: Char, options: Array<CharacterMatcher>)
Fragment
Link copied to clipboard
common
class Fragment(start: State, outgoing: List<Transition>)
MatcherKind
Link copied to clipboard
common
enum MatcherKind : Enum<MatcherKind>
RegexMatcher
Link copied to clipboard
common
class RegexMatcher(pattern: String, start: State, nfa: List<State>)
RegexMatcherBuilder
Link copied to clipboard
common
class RegexMatcherBuilder(pattern: String)
RegexParser
Link copied to clipboard
common
class RegexParser(pattern: String)
RegexParserException
Link copied to clipboard
common
class RegexParserException(msg: String) : RuntimeException
State
Link copied to clipboard
common
class State(number: Int, isSplit: Boolean)
Transition
Link copied to clipboard
common
class Transition(kind: TransitionKind, matcher: CharacterMatcher)
TransitionKind
Link copied to clipboard
common
enum TransitionKind : Enum<TransitionKind>

Functions

matchAtStart
Link copied to clipboard
common
fun Regex.matchAtStart(input: String): String?
regexMatcher
Link copied to clipboard
common
fun regexMatcher(pattern: String): RegexMatcher