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

1 line
269 B
JavaScript

if(!this.sh_languages){this.sh_languages={}}sh_languages.lsm=[[[/\b(?:Begin[\d]*|End)\b/g,"sh_keyword",-1],[/^[A-Za-z0-9_-]+:/g,"sh_type",-1],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1]]];