Package com.networknt.schema.regex
Class JDKRegularExpression
- java.lang.Object
-
- com.networknt.schema.regex.JDKRegularExpression
-
- All Implemented Interfaces:
RegularExpression
class JDKRegularExpression extends java.lang.Object implements RegularExpression
JDKRegularExpression.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.regex.Patternpattern
-
Constructor Summary
Constructors Constructor Description JDKRegularExpression(java.lang.String regex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(java.lang.String value)
-
-
-
Method Detail
-
matches
public boolean matches(java.lang.String value)
- Specified by:
matchesin interfaceRegularExpression
-
-