mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-03-16 14:02:07 +00:00
The new regex from my previous PR (#363) actually still required the lowercase letter to follow the capital letter even if they were no longer required to be right next to each other. This new regex does not require the capital or lowercase letter to be in any particular order but will require that at least one capital and one lowercase is in the password. This is accomplished using a positive lookahead.