aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-13 14:01:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-08-13 14:01:53 +0100
commit333b82b2bf8b014b55268881897251d55c3cdca0 (patch)
treedd8df171ac8b6b6d6632446c29f5111fa18c7a97 /lualib/lua_magic
parent872247289f842303f7a989298423179715a6f1bb (diff)
downloadrspamd-333b82b2bf8b014b55268881897251d55c3cdca0.tar.gz
rspamd-333b82b2bf8b014b55268881897251d55c3cdca0.zip
[Minor] Lua_magic: Slight re tune
Diffstat (limited to 'lualib/lua_magic')
-rw-r--r--lualib/lua_magic/heuristics.lua2
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},
}
}