Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Your test data haven't considered that \w also matches '_' , so this is an allowed character in your passwords - is that what you want ?
From perlre
In addition, Perl defines the following:
\w Match a "word" character (alphanumeric plus "_")
+++++++++++++++++
In reply to Re: regex elegance contest - validate a pw
by leriksen
|
|