[rt-users] maintainably tagging custom fields for CSS

Espen Wiborg espenhw at ovitas.no
Fri Aug 17 03:49:52 EDT 2007

Nicholas Clark <nick at ccl4.org> writes:
>> You can find the formal syntax and grammar for CSS2 here:
>> http://www.w3.org/TR/REC-CSS2/grammar.html
>> >From that definition and the examples given in
>> http://www.w3.org/TR/REC-CSS2/syndata.html, you can do things like:
>     ident 	{nmstart}{nmchar}*
>     name 	{nmchar}+
>     nmstart 	[a-zA-Z]|{nonascii}|{escape}
>     nonascii	[^\0-\177]
>     unicode 	\\[0-9a-f]{1,6}[ \n\r\t\f]?
>     escape 	{unicode}|\\[ -~\200-\4177777]
>     nmchar 	[a-z0-9-]|{nonascii}|{escape}
> Mmm. Are they serious that upper case ASCII is only allowed in nmstart and
> not nmchar?

I should think not. :)

And, indeed, http://www.w3.org/TR/REC-CSS2/grammar.html section D.2
includes the crucial '%option case-insensitive'.  IIUC, CSS doesn't
really care about case, except in quoted strings.

Espen Wiborg <espenhw at ovitas.no>
On a Canadian two dollar bill, the flag flying over the Parliament
building is an American flag.

More information about the rt-users mailing list