]> granicus.if.org Git - file/commitdiff
PR/499: Fix unescaped regex.
authorChristos Zoulas <christos@zoulas.com>
Sun, 29 Nov 2015 22:08:14 +0000 (22:08 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 29 Nov 2015 22:08:14 +0000 (22:08 +0000)
magic/Magdir/java

index 2243be9faff164581aff061f174e428bfb529da3..21acf295e086bb9b4df7dfc1523b74c056435c23 100644 (file)
@@ -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