Test, validate and match regular expressions
Validates passwords that are 8-32 characters long and must contain at least one lowercase letter, one uppercase letter, one digit, and one special character (space, £, and common ASCII punctuation). Four lookaheads enforce the complexity rules, while the trailing character class restricts the overall allowed alphabet and length. With the gm flags, it can validate multiple passwords, one per line, in a single input.