nit: it strikes me as a bit odd to see the reg ex slashes /  / in the error, since I don't enter them with the expression