ScalaTest 1.0
|
|
final
class
OrFullyMatchWord
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
regex
(regex : scala.util.matching.Regex) : Matcher[T with java.lang.String]
This method enables the following syntax:
"1.7" should (fullyMatch regex ("hello") or fullyMatch regex (decimal)) ^ |
def
|
regex
(regexString : java.lang.String) : Matcher[T with java.lang.String]
This method enables the following syntax:
"1.7" should (fullyMatch regex ("hello") or fullyMatch regex (decimal)) ^ |
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
regex(regexString : java.lang.String) : Matcher[T with
java.lang.String]
"1.7" should (fullyMatch regex ("hello") or fullyMatch regex (decimal)) ^
def
regex(regex : scala.util.matching.Regex) : Matcher[T with
java.lang.String]
"1.7" should (fullyMatch regex ("hello") or fullyMatch regex (decimal)) ^
ScalaTest 1.0
|
|