mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gregex: Highlight in the docs that input must be in UTF-8
Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=748620
This commit is contained in:
parent
f75624f593
commit
0adbeacd01
@ -1667,6 +1667,8 @@ g_regex_match_simple (const gchar *pattern,
|
||||
* when the @regex structure was created, letting you have more
|
||||
* flexibility in reusing #GRegex structures.
|
||||
*
|
||||
* Unless %G_REGEX_RAW is specified in the options, @string must be valid UTF-8.
|
||||
*
|
||||
* A #GMatchInfo structure, used to get information on the match,
|
||||
* is stored in @match_info if not %NULL. Note that if @match_info
|
||||
* is not %NULL then it is created even if the function returns %FALSE,
|
||||
@ -1735,6 +1737,8 @@ g_regex_match (const GRegex *regex,
|
||||
* string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern
|
||||
* that begins with any kind of lookbehind assertion, such as "\b".
|
||||
*
|
||||
* Unless %G_REGEX_RAW is specified in the options, @string must be valid UTF-8.
|
||||
*
|
||||
* A #GMatchInfo structure, used to get information on the match, is
|
||||
* stored in @match_info if not %NULL. Note that if @match_info is
|
||||
* not %NULL then it is created even if the function returns %FALSE,
|
||||
@ -1884,6 +1888,8 @@ g_regex_match_all (const GRegex *regex,
|
||||
* string and setting #G_REGEX_MATCH_NOTBOL in the case of a pattern
|
||||
* that begins with any kind of lookbehind assertion, such as "\b".
|
||||
*
|
||||
* Unless %G_REGEX_RAW is specified in the options, @string must be valid UTF-8.
|
||||
*
|
||||
* A #GMatchInfo structure, used to get information on the match, is
|
||||
* stored in @match_info if not %NULL. Note that if @match_info is
|
||||
* not %NULL then it is created even if the function returns %FALSE,
|
||||
|
Loading…
Reference in New Issue
Block a user