hegemonic / catharsis

A JavaScript parser for Google Closure Compiler and JSDoc type expressions.
MIT License
54 stars 14 forks source link

Support Unicode hex escape sequences #65

Open brettz9 opened 3 years ago

brettz9 commented 3 years ago

Per the latest ECMAScript specification, UnicodeEscapeSequence supports the u{...} hex digits escape sequences (which can be 1 to a maximum of 6 hex digits given the max not being higher than 10FFFF).

I think it only makes sense for catharsis (and jsdoc) to support this.

Thanks!