Re: XForms: fselector file name patterns

Dr. T.C. Zhao (zhao@bragg.phys.uwm.edu)
Thu, 16 Oct 1997 22:43:54 -0500

To subscribers of the xforms list from "Dr. T.C. Zhao" <zhao@bragg.phys.uwm.edu> :

from Mike Blackwell <mkb@cs.cmu.edu> :

>How do I (or is it possible to) set the pattern regexp of
>an fselector to specify, say, all files that end with a
>.xx or .yy extension? The c-shell like "*.{xx,yy}" doesn't
>do the trick...

I don't think c-shell globbing style *.{xx,yy} is an ed-style regular
expression, at least the built-in RE filter is not capable of
handling it. So you'll have to roll your own, unfortunately.
spl suggested a way to do this, and it is definately workable.

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/