cf93dca
From bf3fea9e6c0b18e9a645d2a796a1e3ae29be5ee5 Mon Sep 17 00:00:00 2001
cf93dca
From: Christos Zoulas <christos@zoulas.com>
cf93dca
Date: Tue, 5 Aug 2014 07:38:45 +0000
cf93dca
Subject: [PATCH] PR/360: Andreas Koehler: Escape regex properly.
cf93dca
cf93dca
---
cf93dca
 magic/Magdir/msooxml | 4 ++--
cf93dca
 1 file changed, 2 insertions(+), 2 deletions(-)
cf93dca
cf93dca
diff --git a/magic/Magdir/msooxml b/magic/Magdir/msooxml
cf93dca
index c908b71..80bdf13 100644
cf93dca
--- a/magic/Magdir/msooxml
cf93dca
+++ b/magic/Magdir/msooxml
cf93dca
@@ -16,7 +16,7 @@
cf93dca
 0		string		PK\003\004
cf93dca
 !:strength +10
cf93dca
 # make sure the first file is correct
cf93dca
->0x1E		regex		\[Content_Types\]\.xml|_rels/\.rels
cf93dca
+>0x1E		regex		\\[Content_Types\\]\\.xml|_rels/\\.rels
cf93dca
 # skip to the second local file header
cf93dca
 # since some documents include a 520-byte extra field following the file
cf93dca
 # header, we need to scan for the next header