Let's just preprocess so that '&nbsp;' turns into ' ' and then we won't have to deal with it as stupidly in our regular expressions.