diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-11-29 00:07:33 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-11-29 00:07:33 +0000 |
commit | a9df28d181fa9b234860732f7a5a403dc5838d4e (patch) | |
tree | fdf6642d30928c35772d5408d94adcf4ad5bd730 /glib | |
parent | db830dd381bb3e1566ee35aaae6f9f3161a3a818 (diff) | |
download | glib-a9df28d181fa9b234860732f7a5a403dc5838d4e.tar.gz |
Improve docs
svn path=/trunk/; revision=7708
Diffstat (limited to 'glib')
-rw-r--r-- | glib/gregex.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/glib/gregex.c b/glib/gregex.c index ef9ac05f2..31d0323f1 100644 --- a/glib/gregex.c +++ b/glib/gregex.c @@ -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 **/ |