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

Depend on regex-trie #1

Open
mathiasbynens opened this issue Aug 7, 2015 · 2 comments
Open

Depend on regex-trie #1

mathiasbynens opened this issue Aug 7, 2015 · 2 comments

Comments

@mathiasbynens
Copy link

This could be simplified greatly by using https://github.com/alexeld/regex-trie.

@jonschlinkert
Copy link
Member

ah, i was just going to create an issue and ask you what the prev. msg was b/c I saw it too late! thanks for that link I'll definitely take a look.

@jonschlinkert
Copy link
Member

also I'd love a pr if anyone wants to give it a shot. I wish I'd seen it earlier. although my inner nerd is happy that i spent the time to to do this lol. it was an evening well spent.

edit: @mathiasbynens did you mean the code for year-range validation specifically, or for generating regex ranges in general? would be great if it could be used for both

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

No branches or pull requests

2 participants