[Tutor] Mad Villain Seeks Source Review.
Ignacio Vazquez-Abrams
ignacio@openservices.net
Tue, 21 Aug 2001 01:08:33 -0400 (EDT)
On Mon, 20 Aug 2001, Tesla Coil wrote:
> Hmm, lists on the web that tell the hex values
> for all the Netscape and IE named colors (wonder
> how much those two agree). Still be a *huge*
> regex going on behind the scenes...
Well, why don't you try searching by attribute name instead of color name?
That way you would only have to deal with
'color=\s*("([^" ]+)"|\'([^\' ]+)\'|([^"' ]+))' instead.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>