summaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-14 17:27:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-14 17:28:19 +0000
commit9b2e2d70a83c5c679f917253bcdb733d4bbbe705 (patch)
treecf8508b8311b72a9564241873660cccbaa904862 /src/libutil/str_util.h
parent5f2aad306e13c1688a0e0d48be65aa5bd6070ebb (diff)
downloadrspamd-9b2e2d70a83c5c679f917253bcdb733d4bbbe705.tar.gz
rspamd-9b2e2d70a83c5c679f917253bcdb733d4bbbe705.zip
[Feature] Better escaping of unicode
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r--src/libutil/str_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 46b74001b..34c1271d4 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -436,6 +436,7 @@ enum rspamd_regexp_escape_flags {
RSPAMD_REGEXP_ESCAPE_ASCII = 0,
RSPAMD_REGEXP_ESCAPE_UTF = 1u << 0,
RSPAMD_REGEXP_ESCAPE_GLOB = 1u << 1,
+ RSPAMD_REGEXP_ESCAPE_RE = 1u << 2,
};
/**
* Escapes special characters when reading plain data to be processed in pcre