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

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

6 lines
400 B
JavaScript
Raw Normal View History

hljs.registerLanguage("fix",(()=>{"use strict";return e=>({name:"FIX",
contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,
returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,
end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{
begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,
className:"string"}]}],case_insensitive:!0})})());