Class RegularExpressions
java.lang.Object
com.networknt.schema.regex.RegularExpressions
Utility methods for Regular Expressions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringreplaceCharacterProperties(String regex, Map<String, String> replacements) The character properties in JDK is different from ECMA.static StringreplaceDollarAnchors(String regex) The meaning of $ in ecmascript does not allow newlines while for other languages it is typically allowed.static StringReplaces the longform character properties with the shortform character propertise.
-
Method Details
-
replaceDollarAnchors
-
replaceLongformCharacterProperties
-
replaceCharacterProperties
-