Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Regular expression to check for qwerty sequence in a passwordby tybalt89 (Monsignor) |
on Oct 09, 2016 at 16:38 UTC ( [id://1173596]=note: print w/replies, xml ) | Need Help?? |
I use the \0 as a marker or separator between the two sections of the string' Then I match for a three letter sequence that occurs before the marker, some characters, the marker, some characters, and finally the exact three letter sequence that was matched on the left of the marker. If the regex can match, then there is a three letter sequence in the password that matches exactly three keyboard letters in a row.
In Section
Seekers of Perl Wisdom
|
|