James Edward Gray II wrote: >> puts open("some.html").read.scan(/<a href="?(.+?)"?>/) > > No, it doesn't, trust me. ;) Toss a simple "\n" in there and you're sunk: > > <a > href="whatever"> > > Parsing HTML is hard and you don't want to use regular expressions to do > it. > > James Edward Gray II > > > Yep, I realized that after seeing xerces sources :D lopex