Improve docs

svn path=/trunk/; revision=7708
This commit is contained in:
Matthias Clasen 2008-11-29 00:07:33 +00:00
parent db830dd381
commit a9df28d181
2 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 547264 Missing "no flags" flag
* glib/gregex.c: Mention 0 as value for 'no flags' in some places..
Pointed out by Bastien Nocera
2008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 562544 g_key_file_get_string and g_key_file_get_value

View File

@ -1055,8 +1055,8 @@ g_regex_unref (GRegex *regex)
/**
* g_regex_new:
* @pattern: the regular expression
* @compile_options: compile options for the regular expression
* @match_options: match options for the regular expression
* @compile_options: compile options for the regular expression, or 0
* @match_options: match options for the regular expression, or 0
* @error: return location for a #GError
*
* Compiles the regular expression to an internal form, and does
@ -1273,8 +1273,8 @@ g_regex_get_capture_count (const GRegex *regex)
* g_regex_match_simple:
* @pattern: the regular expression
* @string: the string to scan for matches
* @compile_options: compile options for the regular expression
* @match_options: match options
* @compile_options: compile options for the regular expression, or 0
* @match_options: match options, or 0
*
* Scans for a match in @string for @pattern.
*
@ -1287,7 +1287,7 @@ g_regex_get_capture_count (const GRegex *regex)
* once, it's more efficient to compile the pattern once with
* g_regex_new() and then use g_regex_match().
*
* Returns: %TRUE is the string matched, %FALSE otherwise
* Returns: %TRUE if the string matched, %FALSE otherwise
*
* Since: 2.14
*/
@ -1638,8 +1638,8 @@ g_regex_get_string_number (const GRegex *regex,
* g_regex_split_simple:
* @pattern: the regular expression
* @string: the string to scan for matches
* @compile_options: compile options for the regular expression
* @match_options: match options
* @compile_options: compile options for the regular expression, or 0
* @match_options: match options, or 0
*
* Breaks the string on the pattern, and returns an array of
* the tokens. If the pattern contains capturing parentheses,
@ -1669,7 +1669,7 @@ g_regex_get_string_number (const GRegex *regex,
* characters. For example splitting "ab c" using as a separator
* "\s*", you will get "a", "b" and "c".
*
* Returns: a %NULL-terminated gchar ** array. Free it using g_strfreev()
* Returns: a %NULL-terminated array of strings. Free it using g_strfreev()
*
* Since: 2.14
**/