From: Christos Zoulas Date: Wed, 24 Sep 2014 19:52:46 +0000 (+0000) Subject: PR/383: Remove unicode BOM as suggested. X-Git-Tag: FILE5_20~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42829f284082a7cbeb360dddf8ef50a8dbddfc2a;p=file PR/383: Remove unicode BOM as suggested. --- diff --git a/magic/Magdir/windows b/magic/Magdir/windows index 320cb0b4..e60f69c7 100644 --- a/magic/Magdir/windows +++ b/magic/Magdir/windows @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: windows,v 1.8 2014/04/30 21:41:02 christos Exp $ +# $File: windows,v 1.9 2014/09/23 23:42:44 christos Exp $ # windows: file(1) magic for Microsoft Windows # # This file is mainly reserved for files where programs @@ -159,8 +159,9 @@ >&0 string Version\ 5.00\r\n\r\n Windows Registry text (Win2K or above) # Windows *.INF *.INI files updated by Joerg Jenderek at Apr 2013 -# emtpy ,comment , section , unicode line -0 regex/s \\`(\\r\\n|;|[[]|\\xFF\\xFE) +# empty ,comment , section +# PR/383: remove unicode BOM because it is not portable across regex impls +0 regex/s \\`(\\r\\n|;|[[]) # left bracket in section line >&0 search/8192 [ # http://en.wikipedia.org/wiki/Autorun.inf