Re: [ROOT] TGFileDialog file types?

From: Stanislav Nesterov (Stanislav.Nesterov@cern.ch)
Date: Mon May 26 2003 - 22:45:10 MEST


   Hi,
   I just want to clarify one point:
expression "*.{txt,TXT}" in fact is not regexp at all but shell wildcard. 
   
   To be more precise similar condition can be achieved via regex: 
        .*\.(txt|TXT)
 or even
        .*\.[tT][xX][tT]

                                 Best regards,
						Stanislav.

On 26 May 2003, Fons Rademakers wrote:

> Hi Christian,
> 
>  this is currently not supported via our regexp processor. Ideally this
> should work "*.{txt,TXT}" but currently it doesn't.
> 
> Cheers, Fons.
> 
> 
> 
> On Sun, 2003-05-25 at 19:13, cstrato wrote:
> > Dear Rooters
> > 
> > TGFileDialog offers the possibility to show only files
> > of selected type TGFileInfo::fFileTypes.
> > 
> > However, I would like to display e.g. text-files only,
> > which could have the extension *.txt or *.TXT.
> > Is this possible, and how can I achieve this?
> > 
> > Thank you in advance.
> > Best regards
> > Christian
> > _._._._._._._._._._._._._._._._
> > C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a
> > V.i.e.n.n.a       A.u.s.t.r.i.a
> > _._._._._._._._._._._._._._._._
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET