Compare commits

..

No commits in common. "d4a351a4e295231d2f23122bf1a2e6966a6e9eea" and "d2f9ef49c98469f92bf503139f426b9a7aff7c6a" have entirely different histories.

View File

@ -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-z])(?=.*\\d)[A-Za-z\\d]{8,}$"); Pattern passwordPattern = Pattern.compile("^[^a-zA-Z0-9].*[0-9]$");
Scanner reader = new Scanner(System.in); Scanner reader = new Scanner(System.in);