Skip to content

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

Description

@GoogleCodeExporter
对于正则表达式:
^(?=.*\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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions