org.specs2.text.RegexExtractor
See theRegexExtractor companion object
A Regular expression step which takes a text and extracts meaningful values according to a regular expression:
- either a user-defined expression for the full text to extract: e.g. "Given the following number: (.*)"
- or a default regex for groups capturing value delimited with
${}
It provides methods to extract either all the groups as a list, or a number of values as a tuple
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article