aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic/heuristics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_magic/heuristics.lua')
-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},
}
}