PowerShell: fix string and variable substitution ; add highlighting (Number, Control Flow, etc)
Add:
- Comment-Based Help Keyword and Parameter (
.PARAMETER InputPath
in block comment) - Number and Number Suffix (
123Kb
) - Control Flow
- Attribute (text in [...])
- Escape (` at end of line)
Modifiy:
- Special Variable (never reached) become Scope Modifier (
Env
in$Env:EDITOR
)
Fix:
- New line in strings and variable substitution (
${...}
) - Variable in double quoted string
- Escape in string
- Simple raw-string: (
@'...'@
)