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

生成的字符串,不能匹配原模式 #1

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments
Open

生成的字符串,不能匹配原模式 #1

GoogleCodeExporter opened this issue Mar 13, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

对于正则表达式:
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,10}$

应该生成8-10位包含数字,大小写字符的字串。

但是目前简化成为了:
^(.*\d)(.*[a-z])(.*[A-Z]).{8,10}$

导致生成的字串不能符合原模式。

Original issue reported on code.google.com by daid...@gmail.com on 24 Nov 2009 at 3:48

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