Uppercase regex is validating as lowercase.
I am trying to prototype password input validation. The password requirements are:
- Must contain uppercase letter.
- Must contain lowercase letter.
- Must contain special character OR number.
Lowercase and special character are working fine. However, if I type a lowercase letter, the uppercase validation is triggered. My validation is all separated.
It validates fine on Regex101.com... so I'm thinking this might be a bug or an error? Some help would greatly be appreciated, or if anyone knows of any workarounds.