tweaked hpricot regex usage to be quieter under ruby 1.9