java.lang.Object
dev.metaschema.core.metapath.function.library.FnMatches
Implements the XPath 3.1 fn:matches
functions.
-
Method Summary
-
Method Details
-
fnMatches
public static boolean fnMatches(@NonNull String input, @NonNull String pattern, @NonNull String flags) Implements fn:matches.- Parameters:
input- the string to match againstpattern- the regular expression to use for matchingflags- matching options- Returns:
trueif the pattern matches orfalseotherwise
-