From b824a8179b59e84f96919f7c9a0deb51d298dbca Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 24 Nov 2013 16:56:53 +0400 Subject: [PATCH] Extended regular expression Some versions of file report xml files as "XML 1.0 document". --- INSTALL.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 9cd3031..66dcf7e 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -36,7 +36,7 @@ mc.ext: regex/\.([xX][mM][lL])$ Open=%cd %p#xml -type/^XML *document text +type/^XML *(1\.0 *)?document text Open=%cd %p#xml To enable file types add or change the following configuration option in @@ -57,7 +57,7 @@ Edit mc.ext; the syntax is slightly different: regex/\.([xX][mM][lL])$ Include=xml -type/^XML *document text +type/^XML *(1\.0 *)?document text Include=xml include/xml -- 2.39.5