hsweet has asked for the wisdom of the Perl Monks concerning the following question:
I gave my class a regex exercise to figure out a set of expressions that could match the password rules my bank uses. Here are the rules
Nobody (including me)has come up with anything simple for the forth rule (no 3 sequential identical). I was thinking that I could use backreferences and compare them in a loop but was wondering if there was a simpler way.
Time flies like an arrow, fruit flies like banannas
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex Match for 3 repeated word characters
by perlplexer (Hermit) on May 08, 2003 at 00:22 UTC | |
by hsweet (Pilgrim) on May 08, 2003 at 23:54 UTC | |
|
Re: Regex Match for 3 repeated word characters
by Enlil (Parson) on May 08, 2003 at 00:25 UTC | |
|
Re: Regex Match for 3 repeated word characters
by jryan (Vicar) on May 08, 2003 at 03:27 UTC | |
|
Re: Regex Match for 3 repeated word characters
by Abigail-II (Bishop) on May 08, 2003 at 02:16 UTC | |
by antirice (Priest) on May 08, 2003 at 03:49 UTC | |
by jryan (Vicar) on May 08, 2003 at 05:22 UTC | |
by hsweet (Pilgrim) on May 08, 2003 at 14:20 UTC | |
|
Re: Regex Match for 3 repeated word characters
by leriksen (Curate) on May 08, 2003 at 03:14 UTC |