diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-13 14:01:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-08-13 14:01:53 +0100 |
commit | 333b82b2bf8b014b55268881897251d55c3cdca0 (patch) | |
tree | dd8df171ac8b6b6d6632446c29f5111fa18c7a97 /lualib | |
parent | 872247289f842303f7a989298423179715a6f1bb (diff) | |
download | rspamd-333b82b2bf8b014b55268881897251d55c3cdca0.tar.gz rspamd-333b82b2bf8b014b55268881897251d55c3cdca0.zip |
[Minor] Lua_magic: Slight re tune
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_magic/heuristics.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua index 2571346b4..376e19cd4 100644 --- a/lualib/lua_magic/heuristics.lua +++ b/lualib/lua_magic/heuristics.lua @@ -83,7 +83,7 @@ local txt_patterns = { {[[^BEGIN:VCARD\r?\n]], 40}, }, xml = { - {[[(?i)\s*<\?xml\b.+\?>]], 31}, + {[[<\?xml\b.+\?>]], 31}, } } |