CompileOption
public enum CompileOption: Int32, BitMaskOption
POSIX Regular Expression Compilation Options
-
Do not differentiate case.
Declaration
Swift
case CaseInsensitive
-
Use POSIX Extended Regular Expression syntax when interpreting regular expression. If not set, POSIX Basic Regular Expression syntax is used.
Declaration
Swift
case ExtendedSyntax
-
Report only success/fail.
Declaration
Swift
case NoSub
-
Treat a newline in string as dividing string into multiple lines, so that
$
can match before the newline and^
can match after. Also, don’t permit.
to match a newline, and don’t permit[^…]
to match a newline.Otherwise, newline acts like any other ordinary character.
Declaration
Swift
case NewLine
-
Undocumented
Declaration
Swift
public enum CompileOption: Int32, BitMaskOption
-
Undocumented
Declaration
Swift
public enum CompileOption: Int32, BitMaskOption