RegexOption

Provides enumeration values to use to set regular expression options.

Since Kotlin

1.0

Entries

Link copied to clipboard

Enables case-insensitive matching. Case comparison is Unicode-aware.

Link copied to clipboard

Enables multiline mode.

Link copied to clipboard

Enables literal parsing of the pattern.

Link copied to clipboard

Enables Unix lines mode. In this mode, only the '\n' is recognized as a line terminator.

Link copied to clipboard

Permits whitespace and comments in pattern.

Link copied to clipboard

Enables the mode, when the expression . matches any character, including a line terminator.

Link copied to clipboard

Enables equivalence by canonical decomposition.

Properties

Link copied to clipboard
open override val mask: Int
Since Kotlin 1.0
Link copied to clipboard
Since Kotlin 1.0
Link copied to clipboard
Since Kotlin 1.0
Link copied to clipboard
open override val value: Int
Since Kotlin 1.0

Functions

Link copied to clipboard

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.)

Since Kotlin 1.0
Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Since Kotlin 1.0