Nicholas Clark <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
On a Canadian two dollar bill, the flag flying over the Parliament
building is an American flag.
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to