Merge pull request #896 from luenemam/master
SQL Highlighting works for multiple strings in one line.
This commit is contained in:
commit
760f19dfc9
1 changed files with 2 additions and 2 deletions
|
|
@ -51,10 +51,10 @@ var SqlHighlightRules = function() {
|
|||
regex : "--.*$"
|
||||
}, {
|
||||
token : "string", // " string
|
||||
regex : '".*"'
|
||||
regex : '".*?"'
|
||||
}, {
|
||||
token : "string", // ' string
|
||||
regex : "'.*'"
|
||||
regex : "'.*?'"
|
||||
}, {
|
||||
token : "constant.numeric", // float
|
||||
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue