From 8cc2fca85daf91b18e6eb806a6b63c23db5cd3bf Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 12 Jan 2021 15:21:40 +0000 Subject: [Minor] Lua_magic: Add vcf magic pattern --- lualib/lua_magic/patterns.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lualib/lua_magic/patterns.lua') diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 8bdc7ea44..2cf138857 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -157,6 +157,15 @@ local patterns = { } } }, + vcf = { + matches = { + { + string = [[BEGIN:VCARD]], + weight = 60, + relative_position = 0, + } + } + }, -- Archives arj = { matches = { -- cgit v1.2.3