Regex.this

Compiles the regular expression to an internal form, and does the initial setup of the vte.Regex 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 Value

a vte.Regex structure or NULL if an error occured. Call Regex.unref when you are done with it

Throws

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

Meta

Since

2.14