Fix sh highlighting

This commit is contained in:
Garen Torikian 2013-02-04 16:55:03 -08:00
commit ab09f5e38f
2 changed files with 4 additions and 1 deletions

View file

@ -79,7 +79,7 @@ var ShHighlightRules = function() {
this.$rules = {
"start" : [ {
token : "comment",
regex : "#.*$"
regex : "[^\{]#.*$"
}, {
token : "string", // " string
regex : '"(?:[^\\\\]|\\\\.)*?"'