From 333b82b2bf8b014b55268881897251d55c3cdca0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 13 Aug 2021 14:01:53 +0100 Subject: [PATCH] [Minor] Lua_magic: Slight re tune --- lualib/lua_magic/heuristics.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, } } -- 2.39.5