Core API – Kotlin Programming Language (original) (raw)

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

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.

Enables literal parsing of the pattern.

Enables literal parsing of the pattern.

Enables literal parsing of the pattern.

Enables literal parsing of the pattern.

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.

Permits whitespace and comments in pattern.

Permits whitespace and comments in pattern.

Permits whitespace and comments in pattern.

Permits whitespace and comments in pattern.

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.

Enables equivalence by canonical decomposition.

Enables equivalence by canonical decomposition.

Enables equivalence by canonical decomposition.

Enables equivalence by canonical decomposition.

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

Returns the name of this enum constant, exactly as declared in its enum declaration.

Returns the name of this enum constant, exactly as declared in its enum declaration.

Returns the name of this enum constant, exactly as declared in its enum declaration.

Returns the name of this enum constant, exactly as declared in its enum declaration.

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

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.