mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01: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:
parent
275731e200
commit
52f34311b9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user