From: Mathieu Bouchard Date: 2001-01-30T03:46:48+09:00 Subject: [ruby-talk:10097] Re: REQUEST TO REMOVE SEQUENCE # IN SUBJECT On Mon, 29 Jan 2001, Jens Luedicke wrote: > hi there ... > > server side or client side? or both? > client side ... > > $main::ref->{'xsubject'} =~ s/\[ruby-talk:\d+\]//g; I don't know how PMC works but I guess that you can also keep the whole subject while skipping the rest in the sorting: my $foo = sub { my ($foo) = @_; $foo =~ s/\[ruby-talk:\d+\]//; sort { $foo->($a) cmp $foo->($b) } @emails; This should be ok until a few 1000's of emails, after which you may try a Schwartzian transform, that I would hope PMC would use anyway. PS: Anyone wants to write a Ruby Mail Client? matju