Removed the uppercase pattern - pwds contain only lowercase chars and
ints. Fine-tuned some details.