Provides information about a successful match.
- Companion
- object
- Source
- Regex.scala
Value members
Concrete methods
The match itself with matcher-dependent lazy vals forced, so that match is valid even once matcher is advanced.
- Source
- Regex.scala
Inherited methods
The char sequence after last character of match in group i
,
or null
if nothing was matched for that group.
- Inherited from
- MatchData
- Source
- Regex.scala
Returns char sequence after last character of match,
or null
if nothing was matched.
- Inherited from
- MatchData
- Source
- Regex.scala
The char sequence before first character of match in group i
,
or null
if nothing was matched for that group.
- Inherited from
- MatchData
- Source
- Regex.scala
The char sequence before first character of match,
or null
if nothing was matched.
- Inherited from
- MatchData
- Source
- Regex.scala
Returns the group with the given name.
Uses explicit group names when supplied; otherwise, queries the underlying implementation for inline named groups. Not all platforms support inline group names.
- Value Params
- id
The group name
- Returns
The requested group
- Throws
- IllegalArgumentException
if the requested group name is not defined
- Inherited from
- MatchData
- Source
- Regex.scala
The matched string in group i
,
or null
if nothing was matched.
- Inherited from
- MatchData
- Source
- Regex.scala
The matched string; equivalent to matched.toString
.
- Definition Classes
- MatchData -> Any
- Inherited from
- MatchData
- Source
- Regex.scala