Matcher

org.encalmo.utils.Glob.Matcher
See theMatcher companion object
sealed trait Matcher

An engine that performs match operations on a character sequence by interpreting a Pattern.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def end(): Int

Returns the offset after the last character matched.

Returns the offset after the last character matched.

Attributes

Throws
IllegalStateException

- If no match has yet been attempted, or if the previous match operation failed

def find(): Boolean

Attempts to find the next subsequence of the input sequence that matches the pattern.

Attempts to find the next subsequence of the input sequence that matches the pattern.

Attributes

def start(): Int

Returns the start index of the previous match.

Returns the start index of the previous match.

Attributes

Throws
IllegalStateException

- If no match has yet been attempted, or if the previous match operation failed