On Fri, Jan 30, 2004 at 12:46:44PM +0100, Peter J. Acklam wrote: ...cut... > > Stefano Calza <[EMAIL PROTECTED]> wrote: > > > > dir(pattern="\\.sens+$") > > That will find files ending with ".sens", ".senss", ".sensss", > etc. > > To find files ending with ".sens.", the regex is > > dir(pattern = "\\.sens\\.$") > > If there is a file called just ".sens.", you have to use > "all.files = TRUE", since files beginning with a "." are > invisible.
Ops you're perfectly right. Should not put +!! Thanks, Ste > Peter > > -- > Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam -- Stefano Calza, Sezione di Statistica Medica Dip. di Scienze Biomediche e Biotecnologie Universit� degli Studi di Brescia - Italy Viale Europa, 11 25123 Brescia email: [EMAIL PROTECTED] Telefono/Phone: +390303717532 Fax: +390303701157 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
