java.lang.Object
dev.metaschema.core.metapath.function.regex.RegexUtil

public final class RegexUtil extends Object
Utility methods for regular expression processing in Metapath functions.
  • Method Details

    • parseFlags

      public static int parseFlags(@NonNull String flags)
      Parse the regular expression flags according to the specification producing a bitmask suitable for use in Pattern.compile(String, int).
      Parameters:
      flags - the flags to process
      Returns:
      the bitmask