diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-14 17:27:01 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-14 17:28:19 +0000 |
commit | 9b2e2d70a83c5c679f917253bcdb733d4bbbe705 (patch) | |
tree | cf8508b8311b72a9564241873660cccbaa904862 /src/libutil/str_util.h | |
parent | 5f2aad306e13c1688a0e0d48be65aa5bd6070ebb (diff) | |
download | rspamd-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.h | 1 |
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 |