[EMAIL PROTECTED] (Birgit Kellner) writes:

> Many thanks for the code, by the way. I think I can use
> it, even though there remains one case where it doesn't
> work:
> 
> <img src="http://someimagefile.jpg"; alt="A > B">

> That is, cases where tag attributes themselves contain
> pointed brackets (which is, AFAIK, legal).




Which is why many folks use a parser rather than regular
expressions for this.  The parsers take care of the special
cases that are very, very, very (read the history of this
group) difficult to get around with RE's.  Trying to do a
full-blown RE to get all the special cases would be like
trying to herd cats.  Don't try it but for the very simple
cases.


-- 
Michael R. Wolf
    All mammals learn by playing!
        [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to