RegexOption

Provides enumeration values to use to set regular expression options.

Note that the enum has different set of possible options on different platforms and can be extended later. Avoid exclusive when matches on this enum values. See the docs of RegexOption for the specific platform for details.

Since Kotlin

1.0

Provides enumeration values to use to set regular expression options.

Since Kotlin

1.1

Provides enumeration values to use to set regular expression options.

Since Kotlin

1.0

Provides enumeration values to use to set regular expression options.

Since Kotlin

1.3

Provides enumeration values to use to set regular expression options.

Since Kotlin

1.8

Provides enumeration values to use to set regular expression options.

Since Kotlin

1.8

Entries

Link copied to clipboard

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

Enables case-insensitive matching.

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

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

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

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

Link copied to clipboard

Enables multiline mode.

Enables multiline mode.

Enables multiline mode.

Enables multiline mode.

Enables multiline mode.

Enables multiline mode.

Link copied to clipboard

Enables literal parsing of the pattern.

Enables literal parsing of the pattern.

Enables literal parsing of the pattern.

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.

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

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

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.

Permits whitespace and comments in pattern.

Permits whitespace and comments in pattern.

Permits whitespace and comments in pattern.

Link copied to clipboard

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

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

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

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

Link copied to clipboard

Enables equivalence by canonical decomposition.

Enables equivalence by canonical decomposition.

Enables equivalence by canonical decomposition.

Enables equivalence by canonical decomposition.

Properties

Link copied to clipboard

Returns a Java Class instance of the enum the given constant belongs to.

Since Kotlin 1.7
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Since Kotlin 1.0

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Since Kotlin 1.1

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Since Kotlin 1.0

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Since Kotlin 1.3

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Since Kotlin 1.8

Returns a representation of an immutable list of all enum entries, in the order they're declared.

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

Functions

Link copied to clipboard
infix inline fun <T> Comparable<T>.compareTo(other: T): Int

Compares this object with the specified object for order. Returns zero if this object is equal to the specified other object, a negative number if it's less than other, or a positive number if it's greater than other.

Since Kotlin 1.6
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

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

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

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

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

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.8
Link copied to clipboard

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

Since Kotlin 1.0

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

Since Kotlin 1.1

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

Since Kotlin 1.0

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

Since Kotlin 1.3

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

Since Kotlin 1.8

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

Since Kotlin 1.8