org.scalatest.matchers.Matchers

class ResultOfRegexWordApplication

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

final class ResultOfRegexWordApplication(val regex : scala.util.matching.Regex)
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.

The primary constructor enables the following syntax (with a passed scala.util.matching.Regex):

   "eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""".r)
                                 ^
   
Author
Bill Venners
Additional Constructor Summary
def this (regexString : java.lang.String) : ResultOfRegexWordApplication
This auxiliary constructor enables the following syntax (with a passed java.lang.String):
     "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
Additional Constructor Details
def this(regexString : java.lang.String) : ResultOfRegexWordApplication
This auxiliary constructor enables the following syntax (with a passed java.lang.String):
     "eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""")
                                   ^
     


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