S2OJ/uoj/1/js/sh_lang/sh_ldap.min.js
2017-04-07 11:15:39 +08:00

1 line
264 B
JavaScript

if(!this.sh_languages){this.sh_languages={}}sh_languages.ldap=[[[/#/g,"sh_comment",1],[/(\b[A-Za-z0-9_]+:)((?:[^,=]*$)?)/g,["sh_keyword","sh_string"],-1],[/([A-Za-z0-9_]+)(=)([^,]+)(,?)/g,["sh_attribute","sh_symbol","sh_string","sh_symbol"],-1]],[[/$/g,null,-2]]];