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