[csswg-drafts] [css-selectors] Error in the defintion of V in the lexical scanner section? (#6955)

KommuSoft has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-selectors] Error in the defintion of V in the lexical scanner section? ==
On the [*Lexical Scanner* section](https://www.w3.org/TR/2018/REC-selectors-3-20181106/#lex) of the [documentation on the *Selectors Level 3*](https://www.w3.org/TR/2018/REC-selectors-3-20181106/#lex), the lexer defines `V` as:

>     V         v|\\0{0,4}(58|78)(\r\n|[ \t\r\n\f])?|\\v

I'm wondering why it uses 58 or 78. Based on the other items, this is to specify the character in its hexadecimal form, but the hexadecimal form of the ASCII V is `0x56` (or `0x76` for lowercase), not `0x58` (this is the ASCII code for `X`). Therefore shouldn't `V` be defined as:

    V         v|\\0{0,4}(56|76)(\r\n|[ \t\r\n\f])?|\\v

or am I missing something?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6955 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 15 January 2022 14:17:57 UTC