Regex.this

Compiles the regular expression to an internal form, and does the initial setup of the #GRegex structure.

Parameters

pattern string

the regular expression

compileOptions glib.types.RegexCompileFlags

compile options for the regular expression, or 0

matchOptions glib.types.RegexMatchFlags

match options for the regular expression, or 0

Return Value

a #GRegex structure or null if an error occurred. Call glib.regex.Regex.unref when you are done with it