Class RegexFlags

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RegexFlags>
com.azure.search.documents.indexes.models.RegexFlags
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class RegexFlags extends com.azure.core.util.ExpandableStringEnum<RegexFlags>
Defines flags that can be combined to control how regular expressions are used in the pattern analyzer and pattern tokenizer.
  • Field Details

    • CANON_EQ

      public static final RegexFlags CANON_EQ
      Enables canonical equivalence.
    • CASE_INSENSITIVE

      public static final RegexFlags CASE_INSENSITIVE
      Enables case-insensitive matching.
    • COMMENTS

      public static final RegexFlags COMMENTS
      Permits whitespace and comments in the pattern.
    • DOT_ALL

      public static final RegexFlags DOT_ALL
      Enables dotall mode.
    • LITERAL

      public static final RegexFlags LITERAL
      Enables literal parsing of the pattern.
    • MULTILINE

      public static final RegexFlags MULTILINE
      Enables multiline mode.
    • UNICODE_CASE

      public static final RegexFlags UNICODE_CASE
      Enables Unicode-aware case folding.
    • UNIX_LINES

      public static final RegexFlags UNIX_LINES
      Enables Unix lines mode.
  • Constructor Details

  • Method Details

    • fromString

      public static RegexFlags fromString(String name)
      Creates or finds a RegexFlags from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding RegexFlags.
    • values

      public static Collection<RegexFlags> values()
      Gets known RegexFlags values.
      Returns:
      known RegexFlags values.