PowerShell: Remove backtick escape in single-quoted strings#92
PowerShell: Remove backtick escape in single-quoted strings#92xv wants to merge 2 commits intoScintillaOrg:masterfrom xv:p92
Conversation
|
I have reviewed and tested commit 6734b0. Escapes in double-quoted strings are correctly implemented; however, escapes in single-quoted strings definitely shouldn't happen. Also tested on PowerShell ISE: |
|
Pushed 7758276 which includes the code change and updates the test case a little. The comments in the test case were converted to block comments |
|
Looks great -- thank you for your time :) |


Came across this issue of my syntax highlighting getting messed up and found the culprit to be the backtick character escaping in single-quoted strings, which is incorrect behavior.
From MSDN:
Current incorrect behaviour:
Corrected behaviour in PR: