This commit is contained in:
Garen Torikian 2013-02-06 12:43:38 -08:00
commit 90964745bf
2 changed files with 2 additions and 3 deletions

View file

@ -30,7 +30,6 @@ get_repo() {
fi
}
x=(1 2 3)
echo ${#x[@]}
if repo=`get_repo $@`; then

View file

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