org.scalatest.matchers.Matchers.MatcherWrapper

class AndFullyMatchWord

[source: org/scalatest/matchers/Matchers/MatcherWrapper.scala]

final class AndFullyMatchWord
extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.
Author
Bill Venners
Method Summary
def regex (regexString : java.lang.String) : Matcher[T with java.lang.String]
This method enables the following syntax:
       "1.7" should (fullyMatch regex (decimal) and fullyMatch regex (decimal))
                                                               ^
       
def regex (regex : scala.util.matching.Regex) : Matcher[T with java.lang.String]
This method enables the following syntax:
       "1.7" should (fullyMatch regex (decimalRegex) and fullyMatch regex (decimalRegex))
                                                                    ^
       
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]
This method enables the following syntax:
       "1.7" should (fullyMatch regex (decimal) and fullyMatch regex (decimal))
                                                               ^
       

def regex(regex : scala.util.matching.Regex) : Matcher[T with java.lang.String]
This method enables the following syntax:
       "1.7" should (fullyMatch regex (decimalRegex) and fullyMatch regex (decimalRegex))
                                                                    ^
       


Copyright (C) 2001-2009 Artima, Inc. All rights reserved.