On 5/11/07, Chas Owens <[EMAIL PROTECTED]> wrote:
Beyond obfuscation, I can only think of one reason to write something like that: un-tainting. But even then it is bad regex for that since it doesn't validate anything.
And the only thing that is untainted is the last digit found in the target string, as found in $1. The target string itself is still as tainted as ever. I like the obfuscation theory. Either for its own sake, or as part of some challenge or exercise. --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/