parse

exit, or a regular expression; a pattern that does not compile is a typed error.