in reply to \s and non-breaking spaces

If you apply several regexpes to your HTML text, you could first translate all nbsp to real spaces, i.e.

$text =~ tr/\xA0/ /;

-- 
Ronald Fischer <ynnor@mm.st>