You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Fixes Or Enhances
**Make sure that you've checked the boxes below before you submit PR:**
- [x] Tests exist or have been written that cover this particular
change.
@go-playground/validator-maintainers
I’ve been using this package in several projects at our company.
Yesterday, while searching for a validation tag that supports
alphanumeric characters and spaces for Go structs, I was unable to find
an existing one. To address this, I created a regex pattern that allows
alphabets, numbers, and spaces.
This pull request adds that regex-based validation tag to the package,
extending its functionality for common text fields requiring
alphanumeric and space support.
Summary of Changes
Added a new regex validation tag supporting alphabets, numbers, and
spaces
Included documentation and tests for the new tag
0 commit comments