Regex.this

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(string pattern, glib.types.RegexCompileFlags compileOptions, glib.types.RegexMatchFlags matchOptions)

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

Throws