This auxiliary constructor enables the following syntax (with a passed java.lang.String):
This auxiliary constructor enables the following syntax (with a passed java.lang.String):
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^
Overrides toString to return regex and groups (if available)
Overrides toString to return regex and groups (if available)
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchersfor an overview of the matchers DSL.The primary constructor enables the following syntax (with a passed
scala.util.matching.Regex):