Skip to content

Conversation

@loisaidasam
Copy link
Contributor

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.

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.
@ziishaned ziishaned merged commit c1cfb1e into ziishaned:master Aug 11, 2017
atefBB pushed a commit to atefBB/learn-regex that referenced this pull request Aug 20, 2017
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants