Originally Posted by Fou-Lu
Repeating characters can be detected using regex or by using iteration of the string and manually counting them. If you're going to iterate, than you might as well do all the other comparisons char by char as well since you need to evaluate every character anyway.
Is it expensive to iterate character by character through a password?
Any reasons why you would want to avoid this approach? (It seems like it might be the better way?!)