Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Regular expression to check for qwerty sequence in a password

by bradcathey (Prior)
on Oct 09, 2016 at 16:23 UTC ( #1173595=note: print w/replies, xml ) Need Help??


in reply to Re: Regular expression to check for qwerty sequence in a password
in thread Regular expression to check for qwerty sequence in a password

Interesting. Of course, it works, but I'm not sure what is happening with the:

"$password\0$sequences"

and the subsequent:

\0

in the regex. I've not see this before and am curious. Thoughts?

—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot

Replies are listed 'Best First'.
Re^3: Regular expression to check for qwerty sequence in a password
by tybalt89 (Prior) on Oct 09, 2016 at 16:38 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1173595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2020-09-26 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (142 votes). Check out past polls.

    Notices?