final class ResultOfFullyMatchWordForString extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
for an overview of
the matchers DSL.
- Source
- Matchers.scala
- Alphabetic
- By Inheritance
- ResultOfFullyMatchWordForString
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfFullyMatchWordForString(left: String, shouldBeTrue: Boolean, prettifier: Prettifier, pos: Position)
Value Members
-
def
regex(rightRegex: Regex): Assertion
This method enables the following syntax:
This method enables the following syntax:
string should fullymatch regex ("Hel*o world".r) ^
-
def
regex(regexWithGroups: RegexWithGroups): Assertion
This method enables the following syntax:
This method enables the following syntax:
string should fullMatch regex ("a(b*)c" withGroup "bb") ^
-
def
regex(rightRegexString: String): Assertion
This method enables the following syntax:
This method enables the following syntax:
string should fullMatch regex ("Hel*o world") ^
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfFullyMatchWordForString([left], [shouldBeTrue])"
- Definition Classes
- ResultOfFullyMatchWordForString → AnyRef → Any