IntrepidPursuits / swift-wisdom

A collection of additions to the Swift Standard Library created by Intrepid Pursuits developers
MIT License
39 stars 14 forks source link

ip_isValidPassword - String extension for validating password against requirements #47

Closed petey3 closed 8 years ago

petey3 commented 8 years ago

Pass in array of PasswordRequirement values and use regex to check that the string passes those tests. PasswordRequirement values include the inclusion/exclusion of at least one:

as well as a Minimum and Maximum length for the password.

paulrolfe commented 8 years ago

@petey3 rebase and :shipit:

This has been waiting for a while, it looks like.