Package io.apicurio.datamodels.util
Class RegexUtil
- java.lang.Object
-
- io.apicurio.datamodels.util.RegexUtil
-
public class RegexUtil extends Object
Compatibility class used to bridge the gap between Java and JavaScript with respect to working with regular expressions.- Author:
- eric.wittmann@gmail.com
-
-
Constructor Summary
Constructors Constructor Description RegexUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String[]>findMatches(String value, String regex)Finds all strings within the given input that match the given regular expression.static booleanmatches(String value, String regex)Returns true if the given value matches the given regular expression.
-