1835f6802SDirk Vogt 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*0a6a1f1dSLionel Sambuc# $File: graphviz,v 1.8 2014/06/03 19:01:34 christos Exp $ 4ef01931fSBen Gras# graphviz: file(1) magic for http://www.graphviz.org/ 5ef01931fSBen Gras 6ef01931fSBen Gras# FIXME: These patterns match too generally. For example, the first 7ef01931fSBen Gras# line matches a LaTeX file containing the word "graph" (with a { 8ef01931fSBen Gras# following later) and the second line matches this file. 9*0a6a1f1dSLionel Sambuc#0 regex/100l [\r\n\t\ ]*graph[\r\n\t\ ]+.*\\{ graphviz graph text 10ef01931fSBen Gras#!:mime text/vnd.graphviz 11*0a6a1f1dSLionel Sambuc#0 regex/100l [\r\n\t\ ]*digraph[\r\n\t\ ]+.*\\{ graphviz digraph text 12ef01931fSBen Gras#!:mime text/vnd.graphviz 13