Package io.cucumber.cucumberexpressions
Class ExpressionFactory
java.lang.Object
io.cucumber.cucumberexpressions.ExpressionFactory
Creates a
CucumberExpression or RegularExpression from a String
using heuristics. This is particularly useful for languages that don't have a
literal syntax for regular expressions. In Java, a regular expression has to be represented as a String.
A string that starts with `^` and/or ends with `$` (or written in script style, i.e. starting with `/`
and ending with `/`) is considered a regular expression.
Everything else is considered a Cucumber expression.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExpressionFactory
-
-
Method Details
-
createExpression
-