-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
VB.NET - Quotes break on included '@' symbol #2781
Copy link
Copy link
Closed
Labels
Description
Information
- Language: VB.NET
- Plugins: None
Description
When quote marks include an '@' sign the opening quotes are not recognised
In the following example, The first line is shown incorrectly highlighted, the second works.
bob = new SqlCommand("Select * from test Where Code=@Code");
bob = new SqlCommand("Select * from test Where Code=Code");
Would this be as simple as adding '@' to prism-basic.js's string pattern? I'm wary of potential regression issues. on other languages that extend it.
'string': {
pattern: /"(?:""|[@!#$%&'()*,\/:;<=>?^_ +\-.A-Z\d])*"/i,
greedy: true
},
Reactions are currently unavailable
