class CodeValidator extends RegexValidator

Validates whether the value is a valid code per RFC 6749.