Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow an underscore in the prefix name #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

berezovskyi
Copy link

Closes #24

Tested via https://regex101.com/ with PHP7.3+ selected.

An alternative return value would be (?=.{1,11}$)[a-z][a-z0-9]*(?:_[a-z0-9]+)? and that would limit the whole prefix to 11 chars.

Closes cygri#24 

Tested via https://regex101.com/ with PHP7.3+ selected.

An alternative return value would be `(?=.{1,11}$)[a-z][a-z0-9]*(?:_[a-z0-9]+)?` and that would limit the whole prefix to 11 chars.
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.

Support underscores in the prefixes
1 participant