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*)?""")
^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchersorMustMatchersfor an overview of the matchers DSL.The primary constructor enables the following syntax (with a passed
scala.util.matching.Regex):"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r) ^