in reply to Re^7: Sort problems
in thread Sort problems
map { my $s = $_; $s =~ s/(?<!\[)(\d+)/ sprintf('%010d%s', length($1), $1) /eg; $s =~ s/(?<=\[)(\d+)/ sprintf('%010d%s', length($1), 4294967296-$1) /eg; [ $_, $s ] } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Sort problems
by erez_ez (Acolyte) on Dec 24, 2008 at 10:48 UTC | |
by ikegami (Patriarch) on Dec 24, 2008 at 17:24 UTC | |
by erez_ez (Acolyte) on Dec 25, 2008 at 09:29 UTC | |
by ikegami (Patriarch) on Dec 25, 2008 at 09:53 UTC | |
by erez_ez (Acolyte) on Dec 25, 2008 at 13:03 UTC |