Regex


Description:

public Regex (string pattern, RegexCompileFlags compile_options = 0, RegexMatchFlags match_options = 0) throws RegexError

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

Parameters:

pattern

the regular expression

compile_options

compile options for the regular expression, or 0

match_options

match options for the regular expression, or 0

Returns:

a Regex structure or null if an error occurred. Call g_regex_unref when you are done with it