Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] regexp


  • From: sclay at ufl.edu (Steve Clay)
  • Subject: [Javascript] regexp
  • Date: Tue Apr 25 12:36:17 2006

Tuesday, April 25, 2006, 12:00:29 PM, Nick Fitzsimons wrote:
> Unfortunately word boundaries can occur within classNames, as they
> include hyphens, meaning the above would incorrectly find a match on
> class="highlighted-blob"

Oops, I just ran into that a few days ago parsing markup (attributes can
have hyphens).

What are the (or where can I find definitive lists of) allowable chars in
the names of XML elements and attributes, and XHTML ids and classes?

Steve
-- 
http://mrclay.org/