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
As pointed out by @jdp - `\d` and `_` are a subset of `\w`.
Maybe worth mentioning that most places don't allow usernames to start with a number, underscore, or dot.
Even more generally speaking, these are nice toy/model illustrations, but maybe it's worth pointing out that while fun for practice, maybe regex isn't the best way to validate some of these things.
0 commit comments