1 2#------------------------------------------------------------------------------ 3# $File: graphviz,v 1.9 2019/04/30 04:01:40 christos Exp $ 4# graphviz: file(1) magic for https://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