Skip to content

Allow an underscore in the prefix name#33

Open
berezovskyi wants to merge 1 commit intocygri:masterfrom
berezovskyi:patch-1
Open

Allow an underscore in the prefix name#33
berezovskyi wants to merge 1 commit intocygri:masterfrom
berezovskyi:patch-1

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