org.scalatest.matchers.Matchers
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.
ShouldMatchers
MustMatchers
The primary constructor enables the following syntax (with a passed scala.util.matching.Regex):
scala.util.matching.Regex
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r) ^
This auxiliary constructor enables the following syntax (with a passed java.lang.String):
java.lang.String
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchers
orMustMatchers
for an overview of the matchers DSL.The primary constructor enables the following syntax (with a passed
scala.util.matching.Regex
):