public class RegularExpression extends Object implements Expression
| Constructor and Description |
|---|
RegularExpression(Pattern expressionRegexp,
ParameterTypeRegistry parameterTypeRegistry)
Creates a new instance.
|
public RegularExpression(Pattern expressionRegexp, ParameterTypeRegistry parameterTypeRegistry)
expressionRegexp - the regular expression to useparameterTypeRegistry - used to look up parameter typespublic List<Argument<?>> match(String text, Type... typeHints)
match in interface Expressionpublic Pattern getRegexp()
getRegexp in interface Expressionpublic String getSource()
getSource in interface ExpressionCopyright © 2019. All rights reserved.