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

FEATURE: Should support lookup by regex/custom functions #1

Open
maxwellainatchi opened this issue Jul 18, 2017 · 0 comments
Open

FEATURE: Should support lookup by regex/custom functions #1

maxwellainatchi opened this issue Jul 18, 2017 · 0 comments

Comments

@maxwellainatchi
Copy link
Owner

It would be pretty nice if you were able to do something like

select(/4../g, {
    200: "Success",
    204: "No Content",
    403: "Forbidden",
    404: "Not Found", 
})

and it would return all the 4XX codes/their handlers.

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

1 participant