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

Proposal of [attr/=regex] selector

From: Nikodem <freyjkell@gmail.com>
Date: Sun, 21 Oct 2007 11:20:31 +0200
Message-ID: <471B19DF.2000505@gmail.com>
To: www-style <www-style@w3.org>

I would like to propose the selector that match elements with attribute 
which value is OK with a Perl regular expression, i.e.:

[attr/=/[0-9a-z]+/i]

// matches:
// <x attr="123Abc"/>
// does not:
// <x attr="123Abc:)"/>

-- 
Freyjkell
Received on Sunday, 21 October 2007 09:20:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:55 GMT