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