Regex.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string pattern, glib.types.RegexCompileFlags compileOptions, glib.types.RegexMatchFlags matchOptions)

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

Parameters

patternthe regular expression
compileOptionscompile options for the regular expression, or 0
matchOptionsmatch options for the regular expression, or 0

Returns

a #GRegex structure or null if an error occurred. Call

glib.regex.Regex.unref when you are done with it

Throws