in reply to extracting link *and* tag content from "a href"

How about using something that is HTML? The snippet is not HTML. The href attribute must have quotes around it if it contains characters other than letter and numbers. How is the parser supposed to tell if "ad=" is the start of new attribute or what?
  • Comment on Re: extracting link *and* tag content from "a href"