final class ResultOfStartWithWordForString 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
- ResultOfStartWithWordForString
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfStartWithWordForString(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 startWith regex ("Hel*o".r) ^
-
def
regex(regexWithGroups: RegexWithGroups): Assertion
This method enables the following syntax:
This method enables the following syntax:
string should startWith 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 startWith regex ("Hel*o") ^
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfStartWithWordForString([left], [shouldBeTrue])"
- Definition Classes
- ResultOfStartWithWordForString → AnyRef → Any