gregex: improve documentation for g_regex_new

This commit is contained in:
Sebastian Geiger 2016-01-24 18:53:59 +01:00
parent 8c263008bb
commit 192781d4b5

View File

@ -1286,8 +1286,8 @@ static pcre *regex_compile (const gchar *pattern,
* Compiles the regular expression to an internal form, and does * Compiles the regular expression to an internal form, and does
* the initial setup of the #GRegex structure. * the initial setup of the #GRegex structure.
* *
* Returns: a #GRegex structure. Call g_regex_unref() when you * Returns: (nullable): a #GRegex structure or %NULL if an error occured. Call
* are done with it * g_regex_unref() when you are done with it
* *
* Since: 2.14 * Since: 2.14
*/ */