daidodo / daidodo/regxstring

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

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
20
Forks
6
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.