I m working on a simply password strength checker and i can not success applying regular expressions. In different resources different kinds of regular expressions are defined. i also find javascript regular expressions but had some problems to adapt.
首先,这些是经常表达,即需要JAVA:
- at least one lower case letter
- at least one upper case letter at least
- one number at least three numbers at
- least one special character at least
- two special characters both letters
- and numbers both upper and lower case
- letters, numbers, and special characters
我的目标不是定期的表达专家,而只是想利用需要的部分。 如果你把上文讨论的内容引向上调java,将不胜感激。
这里不收下案卷(我的通行证:A5677a)
if (passwd.matches("(?=.*[a-z])")) // [verified] at least one lower case letter {Score = Score+5;}
这里还有一滴错误:非法越狱的性质。
如果(绕过......)(?=*d)) /[核实]至少一个编号
最后,这些表述在不同的方案拟订或文字语言中是否不同?