A GMatchInfo is an opaque struct used to return information about matches.
Sets our main struct and passes it to the parent class.
A destructor is present on this object, but not explicitly documented in the source.
Returns a new string containing the text in string_to_expand with references and escape sequences expanded. References refer to the last match done with string against regex and have the same syntax used by Regex.replace.
Retrieves the text matching the match_num'th capturing parentheses. 0 is the full text of the match, 1 is the first paren set, 2 the second, and so on.
Bundles up pointers to each of the matching substrings from a match and stores them in an array of gchar pointers. The first element in the returned array is the match number 0, i.e. the entire matched text.
Retrieves the text matching the capturing parentheses named name.
Retrieves the position in bytes of the capturing parentheses named name.
Retrieves the position in bytes of the match_num'th capturing parentheses. 0 is the full text of the match, 1 is the first paren set, 2 the second, and so on.
If match_info is not NULL, calls MatchInfo.unref; otherwise does nothing.
Retrieves the number of matched substrings (including substring 0, that is the whole matched text), so 1 is returned if the pattern has no substrings in it and 0 is returned if the match failed.
Get the main Gtk struct
the main Gtk struct as a void*
Usually if the string passed to g_regex_match*() matches as far as it goes, but is too short to match the entire pattern, FALSE is returned. There are circumstances where it might be helpful to distinguish this case from other cases in which there is no match.
Returns whether the previous match operation succeeded.
Increases reference count of match_info by 1.
Decreases reference count of match_info by 1. When reference count drops to zero, it frees all the memory associated with the match_info structure.
the main Gtk struct