Doc: clarification request regarding g_match_info_fetch_pos return value
The documentation of g_match_info_fetch_pos
says:
“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_num is a valid sub pattern but it didn’t match anything (e.g. sub pattern 1, matching “b” against “(a)?b”) then start_pos and end_pos are set to -1 and TRUE is returned.”
then later:
"Return value: Type: gboolean. TRUE if the position was fetched, FALSE otherwise. If the position cannot be fetched, start_pos and end_pos are left unchanged.”
It would be nice to clarify in which situations the position is not fetched, and how those situations differ from the situations where the positions are fetched but set to -1.