From: Robert Klemme Date: 2008-09-08T01:47:08+09:00 Subject: Re: regular expression match and exclude 2008/9/7 Azalar --- : > > The array is created when i use the scan method so if i used reject it > would become a two pass process which is what i am doing anyway so I was > wondering if regular expressions had built in support for this. Will be hard. It's easier if you do %r{galleries/image\d+\.jpg\z} Kind regards robert -- use.inject do |as, often| as.you_can - without end