Updated password matching pattern