fix escape character
was using wrong escape char for string, sqlserver uses double single quote to escape a single quote
This commit is contained in:
parent
662cd11975
commit
67c7da75b6
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ var SqlServerHighlightRules = function() {
|
|||
regex: "'",
|
||||
next: [{
|
||||
token: "constant.language.escape",
|
||||
regex: /\\'/
|
||||
regex: /''/
|
||||
}, {
|
||||
token: "string.end",
|
||||
next: "start",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue