S2OJ/uoj/1/js/sh_lang/sh_ldap.min.js
2018-09-20 17:21:40 +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]]];