"That's not true, ..."
It appears I missed the test data:
qw{ abc ab12c 2345 234y 01234 }
I've rechecked and I'm pretty sure that's the only one with test data not containing only digits.
"All others work with any passwords."
While that maybe true, I've no idea why you thought it was important to state it. I made no reference to what code did or didn't work. I did comment on test data.
— Ken
In reply to Re^3: Check a string for consecutive digits
by kcott
in thread Check a string for consecutive digits
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |