PR/383: Remove unicode BOM as suggested.
authorChristos Zoulas <christos@zoulas.com>
Wed, 24 Sep 2014 19:52:46 +0000 (19:52 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 24 Sep 2014 19:52:46 +0000 (19:52 +0000)
magic/Magdir/windows

index a2aa5425945bc01ac07388bc9fe176d6d12326fe..3f7bded3e1529091b261e08047c07bf979ff6bf4 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: windows,v 1.9 2014/09/23 23:42:44 christos Exp $
+# $File: windows,v 1.10 2014/09/24 19:52:46 christos Exp $
 # windows:  file(1) magic for Microsoft Windows
 #
 # This file is mainly reserved for files where programs
 >&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