richMode/enterKey: minor RegExp tweaks