]> granicus.if.org Git - file/commitdiff
{ needs escaping in regex.
authorReuben Thomas <rrt@sc3d.org>
Mon, 25 Aug 2008 23:54:20 +0000 (23:54 +0000)
committerReuben Thomas <rrt@sc3d.org>
Mon, 25 Aug 2008 23:54:20 +0000 (23:54 +0000)
magic/Magdir/graphviz

index 9af588f2d3c5a1bf8ba98d0de28858e291b5c286..cf47f4e28c84f2e9aada56283ef19585378bcb47 100644 (file)
@@ -1,7 +1,7 @@
 
 #------------------------------------------------------------------------------
 # graphviz:  file(1) magic for http://www.graphviz.org/
-0      regex/100       [\r\n\t\ ]*graph[\r\n\t\ ]*.*{  graphviz graph text
+0      regex/100       [\r\n\t\ ]*graph[\r\n\t\ ]*.*\\{        graphviz graph text
 !:mime text/vnd.graphviz
-0      regex/100       [\r\n\t\ ]*digraph[\r\n\t\ ]*.*{        graphviz digraph text
+0      regex/100       [\r\n\t\ ]*digraph[\r\n\t\ ]*.*\\{      graphviz digraph text
 !:mime text/vnd.graphviz