public class RegularExpression extends Object implements Expression
| Constructor and Description |
|---|
RegularExpression(Pattern pattern,
List<? extends Type> types,
ParameterTypeRegistry parameterTypeRegistry)
Creates a new instance.
|
public RegularExpression(Pattern pattern, List<? extends Type> types, ParameterTypeRegistry parameterTypeRegistry)
pattern - the regular expression to usetypes - types to convert capture groups toparameterTypeRegistry - transform lookuppublic List<Argument> match(String text)
match in interface Expressionpublic String getSource()
getSource in interface ExpressionCopyright © 2017. All Rights Reserved.