On Sep 17, Jason Tiller said:
>2) Duplicate path entries must be removed from the *tail*, not the
> head of the path.
Then reverse the string, screw around with it, and reverse it again.
>Any way to make Perl do the regexp's sdrawkcab?
Well, you don't need to do any of the standard "sexeger" mumbo-jumbo. If
you want to remove trailing entries, then reverse the string, do the regex
as is, and reverse the string again.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]