Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@msftrncs
Copy link
Contributor

@msftrncs msftrncs commented May 8, 2019

Adds syntax highlighting support for `e (escape, ^[ or [char]27) and the Unicode entity escape `u{x} where x is 1-6 hex digits ranging in value from 0x0 to 0x10FFFF.

Adds simple tests for both.

Note, invalid use of `u will scope as invalid.character.escape.powershell
image

I added a new repository item immediately below 'doubleQuotedStringEscapes' so that 'unicodeEscapes' could be reused. (#156 uses the same item 3 times)

(Closes) Fixes #60.

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TylerLeonhardt TylerLeonhardt merged commit f33f44c into PowerShell:master May 8, 2019
@msftrncs msftrncs deleted the issue#60_PowerShell6Escapes branch May 9, 2019 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add two new escape characters for PowerShell Core 6

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.