From: ts Date: 2001-11-22T15:47:43+09:00 Subject: [ruby-talk:26117] Re: Linux Magazine article >>>>> "J" == Jos Backus writes: J> to do this. But I'm looking for a replacement in the succinct Probably there is a better way J> ($ext) = $mbox =~ /.*?-(.+)$/; J> ($ext2) = $ext =~ /.*?-(.+)$/; /.*?-/ =~ mbox && /.*?-/ =~ (ext = $') && ext2 = $' Too perlish for me :-(((( Guy Decoux