Enum RegexFlag

java.lang.Object
java.lang.Enum<RegexFlag>
ai.rapids.cudf.RegexFlag
All Implemented Interfaces:
Serializable, Comparable<RegexFlag>, java.lang.constant.Constable

public enum RegexFlag extends Enum<RegexFlag>
Regex flags setting, closely following cudf::strings::regex_flags. These types can be or'd to combine them. The values are chosen to leave room for future flags and to match the Python flag values.
  • Enum Constant Details

    • DEFAULT

      public static final RegexFlag DEFAULT
    • MULTILINE

      public static final RegexFlag MULTILINE
    • DOTALL

      public static final RegexFlag DOTALL
    • ASCII

      public static final RegexFlag ASCII
    • EXT_NEWLINE

      public static final RegexFlag EXT_NEWLINE
      EXT_NEWLINE(512): Extends line delimiters to include the following Unicode characters - NEXT_LINE ('…') - LINE_SEPARATOR ('
') - PARAGRAPH_SEPARATOR ('
') - CARRIAGE_RETURN ('\r') - NEW_LINE ('\n')
  • Method Details

    • values

      public static RegexFlag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RegexFlag valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null