Merge remote-tracking branch 'origin/master'

This commit is contained in:
Felix Wöstemeyer 2023-01-17 16:10:07 +01:00
commit 230202aa0a

View File

@ -249,7 +249,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);