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

Min String check #2

Open
hongkongkiwi opened this issue May 29, 2013 · 2 comments
Open

Min String check #2

hongkongkiwi opened this issue May 29, 2013 · 2 comments

Comments

@hongkongkiwi
Copy link

Right now there is a len(max) length and len(min,max) for strings, however I think this plugin should also ship with a plugin to check that the length min, e.g. len(100,0) for minimum 100 length and max anything.

@danmilon
Copy link
Owner

I see what you mean. How about minLength(min), maxLength(max) ? PR is welcome.

@hongkongkiwi
Copy link
Author

Yes, that makes most sense, minLength, maxLength and exactlyLength should be the 3 options, len can be used as is by len(min,max).

I wouldn't mind to help but I am not familiar with GIT (I use HG myself).

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