scala.util.matching.Regex.Match
See theMatch companion class
object Match
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
- class
- Source
- Regex.scala
- Graph
-
- Supertypes
- Self type
-
Match.type
Members list
In this article