Add GRegex for regular expression matching. (#50075)
[platform/upstream/glib.git] / glib / update-pcre / pcre_valid_utf8.c
1 #include "pcre_internal.h"
2
3 /*
4  * This function is not needed by GRegex, so print an error and
5  * return always -1, that is the string is a valid UTF-8 encoded
6  * string.
7  */
8 int
9 _pcre_valid_utf8(const uschar *string, int length)
10 {
11 g_warning ("%s: this function should not be called", G_STRLOC);
12 return -1;
13 }