-------- Original Message -------- Subject: Re: wildcards in file names Date: Mon, 30 Aug 1999 12:12:47 -0400 From: Victor Perevoztchikov <perev@bnl.gov> Organization: STAR.bnl To: Damir Buskulic <buskulic@lapp.in2p3.fr> References: <37CAA4BD.662C6BFD@lapp.in2p3.fr> Hi Damir, I used TRegexp class for it. It works fine. Victor Damir Buskulic wrote: > > Hi everybody, > > I would like to scan a list of files given by a user, which could > contain '*' wildcards. I noticed in TSystem the possibility to scan a > directory with GetDirEntry(). Is there some method foreseen in ROOT that > would accept wildcards, compatible across Unix and Windows ? I can do a > simple loop but I'm not a windows expert and I'm afraid I would break > this compatibility. > > Cheers > > Damir > -- > ===================================================================== > | Damir Buskulic | Universite de Savoie/LAPP | > | | Chemin de Bellevue, B.P. 110 | > | Tel : +33 (0)450091600 | F-74941 Annecy-le-Vieux Cedex | > | e-mail: buskulic@lapp.in2p3.fr | FRANCE | > ===================================================================== > mailto:buskulic@lapp.in2p3.fr -- Victor M. Perevoztchikov perev@bnl.gov perev@vxcern.cern.ch Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000 tel office : 516-344-7894; fax 516-344-4206; home 516-345-2690
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:39 MET