Make the generic regexp even more generic.
Don't refontify when changing major modes, there's no need to.