Bill Kelly wrote: > Hi, I'm somewhat of a regexp-enjoying fiend myself; but after > Randal Schwartz posted this horrendous thing last March: > http://www.ruby-talk.com/cgi-bin/scat.rb/ruby/ruby-talk/12815 > I've been somewhat wary whenever someone mentions RFC822. :-) Instead of the obfuscated code layout of http://www.ruby-talk.com/cgi-bin/scat.rb/ruby/ruby-talk/12815 it's definitely better for maintenance, debugging, updtaing, refactoring, to write complex regexen in a kinda BNF style: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65125 Tobi P.S. (they discussed that there in the first URL, but the output still is a mess.) -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.xhtml go_to('www.ruby-lang.org').get(ruby).play.create.have_fun http://www.pinkjuice.com/ruby/