tweaks on the regular expression validators