java.lang.Object
dev.metaschema.core.metapath.function.library.FnMatches

public final class FnMatches extends Object
Implements the XPath 3.1 fn:matches functions.
  • 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 against
      pattern - the regular expression to use for matching
      flags - matching options
      Returns:
      true if the pattern matches or false otherwise