final class ResultOfFullyMatchWordForCollectedString extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers
for an overview of
the matchers DSL.
- Source
- Matchers.scala
- Alphabetic
- By Inheritance
- ResultOfFullyMatchWordForCollectedString
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfFullyMatchWordForCollectedString(collected: Collected, xs: GenTraversable[String], original: Any, 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:
all(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:
all(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:
all(string) should fullMatch regex ("Hel*o world") ^
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfFullyMatchWordForCollectedString([collected], [xs], [shouldBeTrue])"
- Definition Classes
- ResultOfFullyMatchWordForCollectedString → AnyRef → Any