discourse/vendor/assets/javascripts/highlightjs/languages/ebnf.min.js

1 line
252 B
JavaScript

hljs.registerLanguage("ebnf",function(a){var e=a.C(/\(\*/,/\*\)/);return{i:/\S/,c:[e,{cN:"attribute",b:/^[ ]*[a-zA-Z][a-zA-Z-_]*([\s-_]+[a-zA-Z][a-zA-Z]*)*/},{b:/=/,e:/[.;]/,c:[e,{cN:"meta",b:/\?.*\?/},{cN:"string",v:[a.ASM,a.QSM,{b:"`",e:"`"}]}]}]}});