strong(pw) validating in a single regex with lookaheads: at least 8 chars, one lowercase, one uppercase, one digit. Each (?=...) asserts without consuming — the idiomatic multi-rule validator.strong('Passw0rd')True
All four rules hold.
strong('password')False
No uppercase, no digit.
r'(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}'.
Lookaheads all anchor at position 0.