Merge remote-tracking branch 'origin/master'

This commit is contained in:
2023-01-17 16:10:07 +01:00

View File

@@ -249,7 +249,7 @@ public class Data {
boolean passwordValid = false;
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);