🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3941

matchfirst/next

#3941
From: Bruce Dawson
Date: Fri, 08 Jun 1990 21:29
18 lines
1394 bytes
     I've heard matchfirst and matchnext mentioned a couple of times recently,
and while I think the idea of wildcard parsing built into the OS is a great
idea, it _sounds_ like you might be doing it wrong.  If the only way to access
the wildcard routines is through the matchfirst/matchnext routines, which
presumably map roughly onto Examine and ExNext, then you are missing some
possible uses.  Sometimes you might want to do wildcard checking on strings
that don't actually exist as file names, or you might want to change the filter
you are applying to a directory without rereading it.  So, please tell me that
in addition to matchfirst/next, there is also an entry point that lets you pass
two strings, one a wildcard string and the other a 'filename', and get back a
boolean saying whether the 'filename' matches the wildcard.

--
Bruce Dawson    Day job: Distinctive Software Inc.
                Company name: CygnusSoft Software
Work hard, rock hard, eat hard, sleep hard, grow big, wear glasses if
you need 'em.    Webb Wilder credo.
Technical Details
Message-ID: <2048@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!van-bc!rsoft!mindlink!a464

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!van-bc!rsoft!mindlink!a464
From: a464@mindlink.UUCP (Bruce Dawson)
Newsgroups: comp.sys.amiga.tech
Subject: matchfirst/next
Message-ID: <2048@mindlink.UUCP>
Date: 8 Jun 90 21:29:47 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 18