Skip to content

Named string regex patterns.#466

Closed
jagoda wants to merge 1 commit intohapijs:masterfrom
jagoda:feat-regex-name
Closed

Named string regex patterns.#466
jagoda wants to merge 1 commit intohapijs:masterfrom
jagoda:feat-regex-name

Conversation

@jagoda
Copy link
Contributor

@jagoda jagoda commented Oct 29, 2014

Allows regexes to take a name when validating strings. This is useful for differentiating multiple regex patterns.

Closes #439.

@Marsup Marsup added the feature New functionality or improvement label Nov 3, 2014
@Marsup Marsup added this to the 4.8.0 milestone Nov 3, 2014
@Marsup Marsup self-assigned this Nov 3, 2014
@Marsup
Copy link
Collaborator

Marsup commented Nov 3, 2014

Merged. Thanks.

@Marsup Marsup closed this Nov 3, 2014
@Marsup
Copy link
Collaborator

Marsup commented Nov 3, 2014

@jagoda Actually I may have been a bit fast, can you submit another PR to make it more i18n-friendly ?
The inlined required will bite us one day.

@jagoda
Copy link
Contributor Author

jagoda commented Nov 3, 2014

@Marsup sure. Took a crack at it in #470.

@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New functionality or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom messages and multiple regex restrictions.

2 participants