Class RegexFlags

java.lang.Object
org.bremersee.spring.core.regex.RegexFlags
All Implemented Interfaces:
Serializable

public class RegexFlags extends Object implements Serializable
The regex flags.
See Also:
  • Constructor Details

    • RegexFlags

      public RegexFlags()
      Instantiates new regex flags.
  • Method Details

    • toRegexFlags

      public Optional<Integer> toRegexFlags()
      To regex flags.
      Returns:
      the optional
    • compile

      public Pattern compile(String regex)
      Compile pattern.
      Parameters:
      regex - the regex
      Returns:
      the pattern