http://qs1969.pair.com?node_id=471379


in reply to Re^3: Why XML not well formed?
in thread Why XML not well formed?

That would potentially disastrous effects if the XML contained any entities.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^5: Why XML not well formed?
by holli (Abbot) on Jun 30, 2005 at 16:28 UTC
    Yup. better to make it a bit more restrictive.
    s/"(http[^"]+)&(?!amp;)/$1&amp;/g;


    holli, /regexed monk/
      VERY good point

      Don
      WHITEPAGES.COM | INC

      Edit by castaway: Closed small tag in signature