C++ Logo

sg16

Advanced search

Re: [SG16] Feedback on D2071R1 Named universal character escapes

From: Steve Downey <sdowney_at_[hidden]>
Date: Wed, 20 Oct 2021 17:14:40 -0400
On Wed, Oct 20, 2021 at 4:26 PM Jens Maurer via SG16 <sg16_at_[hidden]>
wrote:

> On 20/10/2021 21.30, Jens Maurer via SG16 wrote:
> > - n-char: use U+0020 SPACE (or whatever the name is) to designate
> "space"
>
> n-char cannot represent - and _, it seems.
>
>
> The current list is supposed to be.
|
| _n-char_: one of
| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
| a b c d e f g h i j k l m n o p q r s t u v w x y z
| 0 1 2 3 4 5 6 7 8 9
| - space
|

I will re-review what is getting mis-escaped, and I believe we implicitly
removed _ as it's not used by the Unicode Database, just by the LM2
matching algorithm. But yes, this would have been inconsistent as it's a
before/after problem. Thank you!

Received on 2021-10-20 16:14:54