Attach a standardized error message to a regex
argument that specifies
that the pattern must not be matched. This is a wrapper around
regex_must_match()
that sets the negate
attribute to TRUE
.
Value
The regex
value with a negate
attribute and with names()
equal
to the generated "must not match" error message.