mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
Point to g_utf8_strreverse() for reversing UTF-8 strings. (#153091, Adam
Sun Sep 19 23:15:17 2004 Matthias Clasen <maclas@gmx.de> * glib/tmpl/patterns.sgml: Point to g_utf8_strreverse() for reversing UTF-8 strings. (#153091, Adam Hooper)
This commit is contained in:
parent
975bda37be
commit
859b7b4959
@ -1,3 +1,8 @@
|
|||||||
|
Sun Sep 19 23:15:17 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/tmpl/patterns.sgml: Point to g_utf8_strreverse() for
|
||||||
|
reversing UTF-8 strings. (#153091, Adam Hooper)
|
||||||
|
|
||||||
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
2004-09-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.5.3 ===
|
* === Released 2.5.3 ===
|
||||||
|
@ -8,11 +8,11 @@ matches strings against patterns containing '*' (wildcard) and '?' (joker).
|
|||||||
<para>
|
<para>
|
||||||
The <function>g_pattern_match*</function> functions match a string
|
The <function>g_pattern_match*</function> functions match a string
|
||||||
against a pattern containing '*' and '?' wildcards with similar semantics
|
against a pattern containing '*' and '?' wildcards with similar semantics
|
||||||
as the standard <function>glob()</function> function: '*' matches an
|
as the standard glob() function: '*' matches an arbitrary, possibly empty,
|
||||||
arbitrary, possibly empty, string, '?' matches an arbitrary character.
|
string, '?' matches an arbitrary character.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Note that in contrast to <function>glob()</function>, the '/' character
|
Note that in contrast to glob(), the '/' character
|
||||||
<emphasis>can</emphasis> be matched by the wildcards, there are no
|
<emphasis>can</emphasis> be matched by the wildcards, there are no
|
||||||
'[...]' character ranges and '*' and '?' can <emphasis>not</emphasis>
|
'[...]' character ranges and '*' and '?' can <emphasis>not</emphasis>
|
||||||
be escaped to include them literally in a pattern.
|
be escaped to include them literally in a pattern.
|
||||||
@ -82,9 +82,9 @@ g_pattern_match().
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Note also that the reverse of a UTF-8 encoded string can in general
|
Note also that the reverse of a UTF-8 encoded string can in general
|
||||||
<emphasis>not</emphasis> be obtained by <function>g_strreverse()</function>.
|
<emphasis>not</emphasis> be obtained by g_strreverse().
|
||||||
This works only if the string doesn't contain any multibyte characters.
|
This works only if the string doesn't contain any multibyte characters.
|
||||||
Glib doesn't currently offer a function to reverse UTF-8 encoded strings.
|
Glib offers the g_utf_strreverse() function to reverse UTF-8 encoded strings.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@pspec: a #GPatternSpec.
|
@pspec: a #GPatternSpec.
|
||||||
|
Loading…
Reference in New Issue
Block a user