fixing use of regex