MatchInfo
A GMatchInfo is an opaque struct used to return information about matches.
Skipped during bindings generation
parameter
start_pos
: start_pos: Out parameter is not supportedparameter
start_pos
: start_pos: Out parameter is not supported
Constructors
Functions
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 g_regex_replace().
Retrieves the text matching the capturing parentheses named @name.
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.
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.