new
fun new(pattern: String, compileOptions: RegexCompileFlags, matchOptions: RegexMatchFlags): <Error class: unknown class><Regex?>
Compiles the regular expression to an internal form, and does the initial setup of the #GRegex structure.
Return
a #GRegex structure or null if an error occurred. Call g_regex_unref() when you are done with it
Since
2.14
Parameters
pattern
the regular expression
compileOptions
compile options for the regular expression, or 0
matchOptions
match options for the regular expression, or 0