Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazily initialize regexes to speed up `init()
Using `GODEBUG=inittrace=1` I found a relatively constant 10ms init caused by this function. Replaces go-playground#1246.
- Loading branch information