allowing for the use of regex in exceptions (#14)