![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
•Re^2: Sorting - lower to upperby merlyn (Sage) |
on Jul 15, 2004 at 19:14 UTC ( #374793=note: print w/replies, xml ) | Need Help?? |
That'll make duplicate copies of everything that doesn't begin with a letter. Maybe you want to narrow those regexen down a bit.
-- Randal L. Schwartz, Perl hacker
update: Oops, confused [^a-z] with ^[a-z]. So yes, everything without a letter will be absent, not duplicated. Doesn't change that there's something wrong with this solution.
In Section
Seekers of Perl Wisdom
|
|