From: Alan Davies Date: 2003-09-23T18:33:12+09:00 Subject: Re: Dir.foreach not with patterns? ts wrote: >>>>>>"A" == Alan Davies writes: > > > > Change this > > A> @@dotDir = /^\.\.?$/ > > You can have a file (or a directory) with \n in the name > > > > Guy Decoux > I'm not sure what you're getting at. I'm pretty sure you can't have filenames with \n in them, and that pattern wouldn't match them anyway.