1
Case insensitive match.
6
PCRE native PCRE_MULTILINE
flag is 2
, and PCRE_DOTALL
is 4
PCRE_DOTALL
changes the ".
" meaningPCRE_MULTILINE
changes "^
" and "$
" meaningsCrystal modifies this meaning to have essentially one unique "m
" flag that activates both behaviours, so here we do the same by mapping MULTILINE
to PCRE_MULTILINE | PCRE_DOTALL
.
8
Ignore white space and #
comments.
16
Force pattern anchoring.
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Regex/Options.html