mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
Docs: fix reference to nonexisting function
The regex syntax docs referred to g_regex_fetch() when g_match_info_fetch() was meant. https://bugzilla.gnome.org/show_bug.cgi?id=669865
This commit is contained in:
@@ -1211,7 +1211,7 @@ cat(aract|erpillar|) matches one of the words "cat", "cataract", or
|
||||
<listitem><para>
|
||||
It sets up the subpattern as a capturing subpattern. This means
|
||||
that, when the whole pattern matches, that portion of the
|
||||
string that matched the subpattern can be obtained using <function>g_regex_fetch()</function>.
|
||||
string that matched the subpattern can be obtained using <function>g_match_info_fetch()</function>.
|
||||
Opening parentheses are counted from left to right (starting from 1, as
|
||||
subpattern 0 is the whole matched string) to obtain numbers for the
|
||||
capturing subpatterns.
|
||||
|
Reference in New Issue
Block a user