atom / language-yaml

YAML package for Atom
Other
24 stars 39 forks source link

Add unicode and hex escape sequence support #75

Closed winstliu closed 7 years ago

winstliu commented 7 years ago

Prerequisites

Description

Unicode escape sequences currently are not tokenized correctly.

Steps to Reproduce

  1. Open a new editor and set the syntax to YAML
  2. unicode: "\u263A" or hex esc: "\x0a"

Expected behavior: \u263A and \x0a to all be highlighted as an escape sequence

Actual behavior: Only \u and \x are

Reproduces how often: 100%

Versions

language-yaml@0.28.0