enum ICU::Regex::Flag
Overview
Flags that modify regular expression matching behavior.
Multiple flags can be combined with |.
Defined in:
icu/regex.crEnum Members
-
CaseInsensitive =
2_u32 -
Case-insensitive matching.
-
DotAll =
32_u32 -
Allow
.to match line terminators. -
Multiline =
8_u32 -
Enables multiline mode:
^and$match at line boundaries. -
Comments =
4_u32 -
Verbose/comments mode: whitespace and
#comments are ignored in patterns. -
UnixLines =
1_u32 -
Use Unix-only line endings for
^,$, and.. -
UnicodeWord =
256_u32 -
Set
^and$to match at line boundaries (same as Multiline for ICU). -
ErrorOnUnknownEscapes =
512_u32 -
Enable error checking when searching for a matching pattern in a string.
-
None =
0_u32 -
All =
815_u32
Instance Method Summary
- #case_insensitive?
- #comments?
- #dot_all?
- #error_on_unknown_escapes?
- #multiline?
- #none?
- #unicode_word?
- #unix_lines?