Stash
This commit is contained in:
parent
0c99e826e9
commit
90964745bf
2 changed files with 2 additions and 3 deletions
|
|
@ -30,7 +30,6 @@ get_repo() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
x=(1 2 3)
|
|
||||||
echo ${#x[@]}
|
echo ${#x[@]}
|
||||||
|
|
||||||
if repo=`get_repo $@`; then
|
if repo=`get_repo $@`; then
|
||||||
|
|
|
||||||
|
|
@ -78,8 +78,8 @@ var ShHighlightRules = function() {
|
||||||
|
|
||||||
this.$rules = {
|
this.$rules = {
|
||||||
"start" : [ {
|
"start" : [ {
|
||||||
token : "comment",
|
token : ["comment"],
|
||||||
regex : "[^\{]#.*$"
|
regex : /(?:^|\s)(#.*$)/
|
||||||
}, {
|
}, {
|
||||||
token : "string", // " string
|
token : "string", // " string
|
||||||
regex : '"(?:[^\\\\]|\\\\.)*?"'
|
regex : '"(?:[^\\\\]|\\\\.)*?"'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue