Regex.getPattern

string getPattern()

Gets the pattern string associated with regex, i.e. a copy of the string passed to [glib.regex.Regex.new_].

Returns

the pattern of regex