From: Christos Zoulas Date: Sun, 29 Nov 2015 22:08:14 +0000 (+0000) Subject: PR/499: Fix unescaped regex. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a475d55535cba427860d73ec92fbb719c759139a;p=file PR/499: Fix unescaped regex. --- diff --git a/magic/Magdir/java b/magic/Magdir/java index 2243be9f..21acf295 100644 --- a/magic/Magdir/java +++ b/magic/Magdir/java @@ -1,6 +1,6 @@ #------------------------------------------------------------ -# $File: java,v 1.17 2015/11/09 16:57:19 christos Exp $ +# $File: java,v 1.18 2015/11/29 22:08:14 christos Exp $ # Java ByteCode and Mach-O binaries (e.g., Mac OS X) use the # same magic number, 0xcafebabe, so they are both handled # in the entry called "cafebabe". @@ -16,7 +16,7 @@ !:mime application/x-java-jce-keystore # Java source -0 regex ^import.*;$ Java source +0 regex \^import.*;$ Java source !:mime text/x-java # Java HPROF dumps