Make these regexes stricter by disallowing any additional characters in the output.