mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 01:18:41 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
1 line
479 B
JavaScript
1 line
479 B
JavaScript
if(!this.sh_languages){this.sh_languages={}}sh_languages.spec=[[[/#/g,"sh_comment",1],[/^[A-Za-z0-9_-]+:/g,"sh_keyword",-1],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/\$[A-Za-z0-9_]+/g,"sh_variable",-1],[/%(?:\{?)[A-Za-z0-9_]+(?:\}?)/g,"sh_preproc",-1]],[[/$/g,null,-2]]]; |