Merge pull request #896 from luenemam/master

SQL Highlighting works for multiple strings in one line.
This commit is contained in:
Harutyun Amirjanyan 2012-09-06 00:56:20 -07:00
commit 760f19dfc9

View file

@ -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"