summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c
index c91f6e4a..cfcbd792 100644
--- a/src/core/ignore.c
+++ b/src/core/ignore.c
@@ -328,7 +328,7 @@ static void ignore_init_rec(IGNORE_REC *rec)
if (rec->regexp && rec->pattern != NULL) {
GError *re_error;
- rec->preg = g_regex_new(rec->pattern, G_REGEX_CASELESS, 0, &re_error);
+ rec->preg = g_regex_new(rec->pattern, G_REGEX_OPTIMIZE | G_REGEX_RAW | G_REGEX_CASELESS, 0, &re_error);
if (rec->preg == NULL) {
g_warning("Failed to compile regexp '%s': %s", rec->pattern, re_error->message);