From: Christos Zoulas Date: Sun, 29 Nov 2015 22:08:14 +0000 (+0000) Subject: PR/499: Fix unescaped regex. X-Git-Tag: FILE5_26~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52e9887105b260b17d22268660c5b141036e8f27;p=file PR/499: Fix unescaped regex. --- diff --git a/magic/Magdir/java b/magic/Magdir/java index 6bcdf557..da72ce9c 100644 --- a/magic/Magdir/java +++ b/magic/Magdir/java @@ -1,6 +1,6 @@ #------------------------------------------------------------ -# $File: java,v 1.16 2013/09/24 20:22:03 christos Exp $ +# $File: java,v 1.17 2015/11/09 16:57:19 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