Fixed warning string

Just a small fix: it should say "regular expression" instead of "regular exception"