In addition to usernamePattern we should have the anchor support more fields for validation, such as characterSet, visible length rules, etc.
This would be waiting on #191
Currently it is not needed as the anchor only allows the US ASCII character set, but to expand this we would need an updated standard for validation.