Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!bpa!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: pattern matching (was Re: Command line length limitations) Message-ID: <13039@cbmvax.commodore.com> Date: 4 Jul 90 04:32:37 GMT References: <2533@zipeecs.umich.edu> <136735@sun.Eng.Sun.COM> <12396@cbmvax.commodore.com> <38zy02j0ae2P01@amdahl.uts.amdahl.com> <774@teslab.lab.OZ> Reply-To: jesup@cbmvax (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 15 >>In article <12396@cbmvax.commodore.com>, jesup@cbmvax.commodore.com (Randell Jesup) writes: >>> Wildcard expansion is much easier to do now, due to matchfirst/ >>> matchnext. > >I hope these are not just for matching file names (as in similarly >named MSDOS calls), but allow pattern matching on any string. Some >people would like to use pattern matching for other than file names. ParsePattern (makes tokenized string) and MatchPattern (matches tokenized pattern against string). Poof. -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com BIX: rjesup Common phrase heard at Amiga Devcon '89: "It's in there!"