W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: [selectors4] Comma-separated attribute value selectors

From: Dario De Bastiani <dario.debastiani@gmail.com>
Date: Wed, 9 Oct 2013 17:44:54 +0100
Message-ID: <CABNnbwmuUBVQ+Li2jRpF6qB=Y96vQftkhWD7FhHjTVmDZgq6mA@mail.gmail.com>
To: Célian Veyssière <celian.veyssiere@yahoo.fr>
Cc: www-style@w3.org
I believe that regexp style selectors have never been implemented as they
would impact speed too much to be feasible.
I'm sure somebody more knowledgeable than me will come along shortly if
that isn't correct.

In your specific case, you could add a class server side if the URL matches
the regexp, which would perform way better anyway.
 Hi,

And regular expressions are not possible?

For example, for links it's really complexe to create this type of pattern
without regular expression :

 E[href/="^http://[^.]*\.example\.(com|org|net)"]


~Zéfling
Received on Wednesday, 9 October 2013 16:45:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:03 UTC