final class ResultOfRegexWordApplication extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for Matchers
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) ^
- Alphabetic
- By Inheritance
- ResultOfRegexWordApplication
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResultOfRegexWordApplication(regexString: String, groups: IndexedSeq[String])
This auxiliary constructor enables the following syntax (with a passed
java.lang.String
):This auxiliary constructor enables the following syntax (with a passed
java.lang.String
):"eight" should not fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^
- new ResultOfRegexWordApplication(regex: Regex, groups: IndexedSeq[String])
Value Members
- val groups: IndexedSeq[String]
- val regex: Regex
-
def
toString(): String
Overrides toString to return regex and groups (if available)
Overrides toString to return regex and groups (if available)
- Definition Classes
- ResultOfRegexWordApplication → AnyRef → Any