Match (original) (raw)
scala.util.matching.Regex.Match
See theMatch companion class
An extractor object for Matches, yielding the matched string.
This can be used to help writing replacer functions when you are not interested in match data. For example:
import scala.util.matching.Regex.Match
"""\w+""".r replaceAllIn ("A simple example.", _ match { case Match(s) => s.toUpperCase })
Attributes
Companion
Source
Graph
Supertypes
Self type
Members list
In this article