]> granicus.if.org Git - file/commitdiff
PR/383: make regex use \x and not the non-ascii characters.
authorChristos Zoulas <christos@zoulas.com>
Tue, 23 Sep 2014 23:42:44 +0000 (23:42 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 23 Sep 2014 23:42:44 +0000 (23:42 +0000)
magic/Magdir/windows

index 1879f292d091ba10b44553622ba1d7558456b163..a2aa5425945bc01ac07388bc9fe176d6d12326fe 100644 (file)
@@ -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
 
 # Windows *.INF *.INI files updated by Joerg Jenderek at Apr 2013
 # emtpy ,comment , section , unicode line
-0      regex/s         \\`(\r\n|;|[[]|\xFF\xFE)                        
+0      regex/s         \\`(\\r\\n|;|[[]|\\xFF\\xFE)                    
 # left bracket in section line
 >&0    search/8192     [                                               
 # http://en.wikipedia.org/wiki/Autorun.inf