RegexOption

expect enum RegexOption : Enum<RegexOption>
actual enum RegexOption : Enum<RegexOption> , FlagEnum

Provides enumeration values to use to set regular expression options.

actual enum RegexOption : Enum<RegexOption>

Provides enumeration values to use to set regular expression options.

actual enum RegexOption : Enum<RegexOption> , FlagEnum

Provides enumeration values to use to set regular expression options.

Entries

IGNORE_CASE
Link copied to clipboard
IGNORE_CASE(Pattern.CASE_INSENSITIVE)

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

Enables case-insensitive matching.

IGNORE_CASE(Pattern.CASE_INSENSITIVE)

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

MULTILINE
Link copied to clipboard
MULTILINE(Pattern.MULTILINE)

Enables multiline mode.

Enables multiline mode.

MULTILINE(Pattern.MULTILINE)

Enables multiline mode.

CANON_EQ
Link copied to clipboard
CANON_EQ(Pattern.CANON_EQ)

Enables equivalence by canonical decomposition.

CANON_EQ(Pattern.CANON_EQ)

Enables equivalence by canonical decomposition.

DOT_MATCHES_ALL
Link copied to clipboard
DOT_MATCHES_ALL(Pattern.DOTALL)

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

DOT_MATCHES_ALL(Pattern.DOTALL)

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

COMMENTS
Link copied to clipboard
COMMENTS(Pattern.COMMENTS)

Permits whitespace and comments in pattern.

COMMENTS(Pattern.COMMENTS)

Permits whitespace and comments in pattern.

UNIX_LINES
Link copied to clipboard
UNIX_LINES(Pattern.UNIX_LINES)

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

UNIX_LINES(Pattern.UNIX_LINES)

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

LITERAL
Link copied to clipboard
LITERAL(Pattern.LITERAL)

Enables literal parsing of the pattern.

LITERAL(Pattern.LITERAL)

Enables literal parsing of the pattern.

Properties

mask
Link copied to clipboard
open override val mask: Int
mask
Link copied to clipboard
open override val mask: Int
name
Link copied to clipboard
val name: String
name
Link copied to clipboard
val name: String
name
Link copied to clipboard
val name: String
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
ordinal
Link copied to clipboard
val ordinal: Int
ordinal
Link copied to clipboard
val ordinal: Int
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: Int
value
Link copied to clipboard
val value: String
value
Link copied to clipboard
open override val value: Int