Scala Library
|
|
scala/util/matching/Regex.scala
]
class
Match(val
source : java.lang.CharSequence, matcher : java.util.regex.Matcher, val
groupNames : Seq[java.lang.String])
extends
MatchDataValue Summary | |
val
|
end
: Int
The index following the last matched character
|
val
|
start
: Int
The index of the first matched character
|
Method Summary | |
def
|
end
(i : Int) : Int
The index following the last matched character in group
i |
def
|
force
: Match
The match itself with matcher-dependent lazy vals forced,
so that match is valid even once matcher is advanced
|
def
|
groupCount
: Int
The number of subgroups
|
def
|
start
(i : Int) : Int
The index of the first matched character in group
i |
Methods inherited from MatchData | |
matched, group, subgroups, before, before, after, after, group, toString |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
val
start : Int
val
end : Int
Method Details |
def
groupCount : Int
i
i
def
force : Match
Scala Library
|
|