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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

1 line
252 B
JavaScript
Raw Normal View History

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:"`"}]}]}]}});