1f72f8299SJan Lentfer 279343712SPeter Avalos#------------------------------------------------------------------------------ 36fca56fbSSascha Wildner# $File: graphviz,v 1.9 2019/04/30 04:01:40 christos Exp $ 46fca56fbSSascha Wildner# graphviz: file(1) magic for https://www.graphviz.org/ 579343712SPeter Avalos 679343712SPeter Avalos# FIXME: These patterns match too generally. For example, the first 779343712SPeter Avalos# line matches a LaTeX file containing the word "graph" (with a { 879343712SPeter Avalos# following later) and the second line matches this file. 9*82c5fa3eSPeter Avalos#0 regex/100l [\r\n\t\ ]*graph[\r\n\t\ ]+.*\\{ graphviz graph text 1079343712SPeter Avalos#!:mime text/vnd.graphviz 11*82c5fa3eSPeter Avalos#0 regex/100l [\r\n\t\ ]*digraph[\r\n\t\ ]+.*\\{ graphviz digraph text 1279343712SPeter Avalos#!:mime text/vnd.graphviz 13