Compare commits
2 Commits
d2f9ef49c9
...
d4a351a4e2
Author | SHA1 | Date | |
---|---|---|---|
d4a351a4e2 | |||
83af3a6066 |
@ -244,7 +244,7 @@ public class Data {
|
|||||||
boolean passwordValid = false;
|
boolean passwordValid = false;
|
||||||
|
|
||||||
Pattern phoneNumberPattern = Pattern.compile("[0-9]*");
|
Pattern phoneNumberPattern = Pattern.compile("[0-9]*");
|
||||||
Pattern passwordPattern = Pattern.compile("^[^a-zA-Z0-9].*[0-9]$");
|
Pattern passwordPattern = Pattern.compile("^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d]{8,}$");
|
||||||
|
|
||||||
Scanner reader = new Scanner(System.in);
|
Scanner reader = new Scanner(System.in);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user