From: Matthias Clasen Date: Sun, 11 Jan 2009 04:58:25 +0000 (+0000) Subject: Improve docs X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=c5e6e11d8e89a3295b932831b4f3a72b8ded778e;p=dana%2Fcg-glib.git Improve docs svn path=/trunk/; revision=7802 --- diff --git a/ChangeLog b/ChangeLog index 9ab43bf5..e58ffbdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-10 Matthias Clasen + + Bug 566573 – g_match_info_fetch_pos docs + + * glib/gregex.c: Mention that positions are in bytes. + Proposed by Christian Persch. + 2009-01-10 Matthias Clasen Bug 566569 – gregex docs clarification diff --git a/glib/gregex.c b/glib/gregex.c index 6ad873a0..ba9174af 100644 --- a/glib/gregex.c +++ b/glib/gregex.c @@ -794,7 +794,7 @@ g_match_info_fetch (const GMatchInfo *match_info, * @start_pos: pointer to location where to store the start position * @end_pos: pointer to location where to store the end position * - * Retrieves the position of the @match_num'th capturing + * 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. * @@ -917,7 +917,7 @@ g_match_info_fetch_named (const GMatchInfo *match_info, * @start_pos: pointer to location where to store the start position * @end_pos: pointer to location where to store the end position * - * Retrieves the position of the capturing parentheses named @name. + * Retrieves the position in bytes of the capturing parentheses named @name. * * If @name is a valid sub pattern name but it didn't match anything * (e.g. sub pattern "X", matching "b" against "(?P<X>a)?b")