Added in \[ and \] as they are valid for passwords.