Regex.this

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

  1. this(GRegex* gRegex, bool ownedRef)
  2. this(string pattern, GRegexCompileFlags compileOptions, GRegexMatchFlags matchOptions)

Parameters

pattern string

the regular expression

compileOptions GRegexCompileFlags

compile options for the regular expression, or 0

matchOptions GRegexMatchFlags

match options for the regular expression, or 0

Return: a #GRegex structure or %NULL if an error occured. Call g_regex_unref() when you are done with it

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.14