Test, validate and match regular expressions
Validates passwords with strict complexity rules: 8-16 characters total, with no whitespace allowed anywhere. Uses lookaheads to require at least one digit, one uppercase letter, one lowercase letter, and one special character (excluding word characters, digits, whitespace, and colons). The multiline flag enables validating multiple password candidates across separate lines, common in signup forms and password policy enforcement.