From: Matthias Clasen Date: Sat, 1 Feb 2014 15:18:07 +0000 (-0500) Subject: gregex: Convert docs to markdown X-Git-Tag: 2.39.4~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c93c05faa32aa030ff7aa604b5bb01871716cb2c;p=platform%2Fupstream%2Fglib.git gregex: Convert docs to markdown In particular, convert lists to markdown syntax. --- diff --git a/glib/gregex.c b/glib/gregex.c index 6dbb9bf..7d9494a 100644 --- a/glib/gregex.c +++ b/glib/gregex.c @@ -2698,35 +2698,14 @@ interpolation_list_needs_match (GList *list) * to the captured subexpression with the given name. '\0' refers to the * complete match, but '\0' followed by a number is the octal representation * of a character. To include a literal '\' in the replacement, write '\\'. + * * There are also escapes that changes the case of the following text: * - * - * \l - * - * Convert to lower case the next character - * - * - * \u - * - * Convert to upper case the next character - * - * - * \L - * - * Convert to lower case till \E - * - * - * \U - * - * Convert to upper case till \E - * - * - * \E - * - * End case modification - * - * - * + * - \l: Convert to lower case the next character + * - \u: Convert to upper case the next character + * - \L: Convert to lower case till \E + * - \U: Convert to upper case till \E + * - \E: End case modification * * If you do not need to use backreferences use g_regex_replace_literal(). *