>>>>> "JP" == Jon Parise <jon at csh.rit.edu> writes: JP> I don't think a regular expression is the correct way to JP> handle this, but you've definitely identified the problem. I JP> like the attached patch a bit better (although Barry has the JP> final say). Perfect, thanks! -Barry