public class JSRegexValidator extends Object implements RegexValidator
| Constructor and Description |
|---|
JSRegexValidator(RegexSource source) |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Checks the regular expression for syntax errors without building an AST.
|
public JSRegexValidator(RegexSource source)
public void validate()
throws RegexSyntaxException
RegexValidatorvalidate in interface RegexValidatorRegexSyntaxException - when the pattern or the flags are not well-formed