W3C home > Mailing lists > Public > www-style@w3.org > June 2012

[selectors4] Redundant regexp in the grammar

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 07 Jun 2012 13:40:15 +0200
Message-ID: <4FD0931F.8020909@kozea.fr>
To: "www-style@w3.org list" <www-style@w3.org>
Hi,

The lexical scanner for selectors includes {nonascii} in its string1, 
string2, invalid1 and invalid2 macros but this is unnecessary: all 
non-ASCII characters are already matched by [^\n\r\f\\']

The same problem exists in selectors3, but not in css21.

Regards,
-- 
Simon Sapin
Received on Thursday, 7 June 2012 11:40:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT