mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
gregex: Convert docs to markdown
In particular, convert lists to markdown syntax.
This commit is contained in:
parent
8f486ceebb
commit
c93c05faa3
@ -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:
|
||||
*
|
||||
* <variablelist>
|
||||
* <varlistentry><term>\l</term>
|
||||
* <listitem>
|
||||
* <para>Convert to lower case the next character</para>
|
||||
* </listitem>
|
||||
* </varlistentry>
|
||||
* <varlistentry><term>\u</term>
|
||||
* <listitem>
|
||||
* <para>Convert to upper case the next character</para>
|
||||
* </listitem>
|
||||
* </varlistentry>
|
||||
* <varlistentry><term>\L</term>
|
||||
* <listitem>
|
||||
* <para>Convert to lower case till \E</para>
|
||||
* </listitem>
|
||||
* </varlistentry>
|
||||
* <varlistentry><term>\U</term>
|
||||
* <listitem>
|
||||
* <para>Convert to upper case till \E</para>
|
||||
* </listitem>
|
||||
* </varlistentry>
|
||||
* <varlistentry><term>\E</term>
|
||||
* <listitem>
|
||||
* <para>End case modification</para>
|
||||
* </listitem>
|
||||
* </varlistentry>
|
||||
* </variablelist>
|
||||
* - \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().
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user