ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
RegexWord
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
apply
(regexString : java.lang.String) : ResultOfRegexWordApplication
This method enables the following syntax:
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r) ^ |
def
|
apply
(regex : scala.util.matching.Regex) : ResultOfRegexWordApplication
This method enables the following syntax:
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^ |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
apply(regexString : java.lang.String) : ResultOfRegexWordApplication
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r) ^
def
apply(regex : scala.util.matching.Regex) : ResultOfRegexWordApplication
"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^
ScalaTest 1.1
|
|