From: Richard Conroy Date: 2007-10-02T21:58:04+09:00 Subject: Re: finding files with regular expressions On 10/2/07, Remco Hh wrote: > Hi, i am having troubles figuring this out: > > I want to search in a directory for files, matching a certain regular > expression. The script should not return true or false, but should give > me a list (array) of filenames which are found. > > who can help me a little? > thanks in advance :) Look at Ruby's Find library. I am not sure if it can take regexp arguments (haven't tried, but it would be hella cool).