From 42873dc11090b0ce0c6f49333a73123fa5de05cb Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 2 Jul 2023 17:33:28 +0100 Subject: [PATCH] [Minor] Lua_magic: Try to reduce fp rate for html heuristic --- lualib/lua_magic/heuristics.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua index ea8f08e08..98cfb0eee 100644 --- a/lualib/lua_magic/heuristics.lua +++ b/lualib/lua_magic/heuristics.lua @@ -63,13 +63,13 @@ local zip_patterns = { local txt_trie local txt_patterns = { html = { - {[[(?i)]]=], 32}, {[[(?i)]], 31}, -- Another spammy pattern {[[(?i)<\!DOCTYPE HTML\b]], 33}, {[[(?i)