diff --git a/gum/gummemory.c b/gum/gummemory.c index 26c800dd5..381503500 100644 --- a/gum/gummemory.c +++ b/gum/gummemory.c @@ -576,7 +576,7 @@ gum_match_pattern_new_from_regex (const gchar * regex_str) GumMatchPattern * pattern; GRegex * regex; - regex = g_regex_new (regex_str, G_REGEX_OPTIMIZE, G_REGEX_MATCH_NOTEMPTY, + regex = g_regex_new (regex_str, G_REGEX_OPTIMIZE | G_REGEX_RAW, G_REGEX_MATCH_NOTEMPTY, NULL); if (regex == NULL) return NULL;