mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Replaced & by & in <programlisting> to make gtk-doc happy.
2007-06-15 Sebastian Wilhelmi <wilhelmi@google.com> * glib/gregex.c: Replaced & by & in <programlisting> to make gtk-doc happy. svn path=/trunk/; revision=5565
This commit is contained in:
parent
020af9f1dc
commit
e674f5fe77
@ -1,3 +1,8 @@
|
||||
2007-06-15 Sebastian Wilhelmi <wilhelmi@google.com>
|
||||
|
||||
* glib/gregex.c: Replaced & by & in <programlisting> to make
|
||||
gtk-doc happy.
|
||||
|
||||
2007-06-14 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
* docs/reference/glib/glib-sections.txt:
|
||||
|
@ -1091,7 +1091,7 @@ g_regex_match_simple (const gchar *pattern,
|
||||
* GMatchInfo *match_info;
|
||||
*
|
||||
* regex = g_regex_new ("[A-Z]+", 0, 0, NULL);
|
||||
* g_regex_match (regex, string, 0, &match_info);
|
||||
* g_regex_match (regex, string, 0, &match_info);
|
||||
* while (g_match_info_matches (match_info))
|
||||
* {
|
||||
* gchar *word = g_match_info_fetch (match_info, 0);
|
||||
@ -1160,13 +1160,13 @@ g_regex_match (const GRegex *regex,
|
||||
* GError *error = NULL;
|
||||
*
|
||||
* regex = g_regex_new ("[A-Z]+", 0, 0, NULL);
|
||||
* g_regex_match_full (regex, string, -1, 0, 0, &match_info, &error);
|
||||
* g_regex_match_full (regex, string, -1, 0, 0, &match_info, &error);
|
||||
* while (g_match_info_matches (match_info))
|
||||
* {
|
||||
* gchar *word = g_match_info_fetch (match_info, 0);
|
||||
* g_print ("Found: %s\n", word);
|
||||
* g_free (word);
|
||||
* g_match_info_next (match_info, &error);
|
||||
* g_match_info_next (match_info, &error);
|
||||
* }
|
||||
* g_match_info_free (match_info);
|
||||
* g_regex_unref (regex);
|
||||
|
Loading…
Reference in New Issue
Block a user