hollasch / eol

Convert file end-of-line encodings
MIT License
0 stars 0 forks source link

Accept alternate line ending sequences #11

Open hollasch opened 7 months ago

hollasch commented 7 months ago

Issue #3 called for expansion of Unicode line-ending sequences. Better, do two things:

hollasch commented 7 months ago

While I'm at it, deprecate the \ooo octal escape sequence.

hollasch commented 7 months ago

In order to support codepoints outside the BMP, implement the alternate format \u{X…X}. For example, the smiley face U+1F600 would be \u{1f600} (with case insensitive hex).

hollasch commented 7 months ago

Split out the multiple-sequence aspect to #12.