From: Christos Zoulas Date: Tue, 23 Sep 2014 23:42:44 +0000 (+0000) Subject: PR/383: make regex use \x and not the non-ascii characters. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f140eba3262d4b6f2c2872a3cb1c499abbedc20d;p=file PR/383: make regex use \x and not the non-ascii characters. --- diff --git a/magic/Magdir/windows b/magic/Magdir/windows index 1879f292..a2aa5425 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 @@ -160,7 +160,7 @@ # 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