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

Random with limit doesn't work #25

Closed
kilaka opened this issue May 26, 2016 · 2 comments
Closed

Random with limit doesn't work #25

kilaka opened this issue May 26, 2016 · 2 comments

Comments

@kilaka
Copy link

kilaka commented May 26, 2016

Generex generex = new Generex("^(.?=.{8,})(?=.[\d])(?=.[\W]).$");
String password = generex.random(20, 20);

Result: 494 chars string.

@carlphilipp
Copy link

carlphilipp commented Aug 12, 2016

\d((?!11)\d{2})((?!55501)\d{7}) does not work either. '?!' is not supported ?

@mifmif
Copy link
Owner

mifmif commented Oct 29, 2016

Issue Fixed in version 1.0.2.

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

3 participants