jcpunk has asked for the wisdom of the Perl Monks concerning the following question:
i do not see my error, but $untainted always ends up being equal to @. any thoughts?if ($tainted =~ /\w{3}[\w.]*\@[\w.]+/) { $untainted = "$1\@$2"; }
by the way thanks for all the help that was, is, and will be
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: slightly broken reg-ex
by hardburn (Abbot) on Jul 02, 2003 at 14:32 UTC | |
by jcpunk (Friar) on Jul 02, 2003 at 15:22 UTC | |
|
Re: slightly broken reg-ex
by sauoq (Abbot) on Jul 02, 2003 at 14:34 UTC | |
by jcpunk (Friar) on Jul 02, 2003 at 15:23 UTC | |
|
Re: slightly broken reg-ex
by halley (Prior) on Jul 02, 2003 at 14:39 UTC | |
by jcpunk (Friar) on Jul 02, 2003 at 15:26 UTC | |
|
Re: slightly broken reg-ex
by Abstraction (Friar) on Jul 02, 2003 at 14:35 UTC | |
by jcpunk (Friar) on Jul 02, 2003 at 15:26 UTC |