Re: [heycam/webidl] Disallow underscore-and-hyphen only identifiers (#633)

It does. ` _?` matches ""(empty), `[A-Za-z-]` matches "-", and `[0-9A-Z_a-z-]*` matches "123". It also matches "`---`" in the same way.

I agree it is the only use case, and is unusual in other IDLs. But we already have it in CSSOM spec.
Andf for numbers, they are not identifer tokens, and our previous (before #612) regular expression did not allow them.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/633#issuecomment-458881843

Received on Wednesday, 30 January 2019 09:54:46 UTC