[glib] Docs: fix reference to nonexisting function



commit 52f34311b908e661f257cab70d60d89d37a2da75
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 16 13:33:44 2012 -0500

    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

 docs/reference/glib/regex-syntax.sgml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/glib/regex-syntax.sgml b/docs/reference/glib/regex-syntax.sgml
index 5be56ba..5e14fea 100644
--- a/docs/reference/glib/regex-syntax.sgml
+++ b/docs/reference/glib/regex-syntax.sgml
@@ -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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]