Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix and enhance mulitple quoted string issues #173
Conversation
permits whitespace to follow here-string start token.
indirectly applies #167 parts 2 and 3
adds punctuation scope to start/end of here-string
Fixes #143, moving the double double-quote escape (
"") in todoubleQuotedStringfromdoubleQuotedStringEscapes, and removing the double single-quote escape ('') from the pattern for single quoted here-strings.Fixes #167 (entirely), permitting white space to follow the opening token for here-strings, adding punctuation scopes to the start and end tokens (
punctuation.definition.string…), and preparing some of the string regex's for the following change.Closes #141, applying the PowerShell supported curly quotes
\x{2018}-\x{201B}(single quotes) and\x{201C}-\x{201E}(double quotes), everywhere except for an occurrence inhashtable:EditorSyntax/PowerShellSyntax.tmLanguage
Lines 1501 to 1504 in 44eac87
There are issues in this area, that nearly make the quotes in this section unusable.
Tests added for single quoted here-string, and the escaping issue of #143. There are currently no tests I found for
punctuation.definition.string…for any kind of strings.