home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19116 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.1 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!smurf.sub.org!easix!teralon!darkness.gun.de!rseichter
  2. From: rseichter@darkness.gun.de (Ralph Seichter)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Need pattern matching search algorithim!
  5. Message-ID: <zpefaNphc1@darkness.gun.de>
  6. Organization: DARKNESS Public Mailbox, Kerpen, Germany
  7. Date: Thu, 21 Jan 1993 12:54:00 +0100
  8. Lines: 18
  9.  
  10. lahurst@unix1.tcd.ie (Leon Hurst) wrote:
  11.  
  12. > I am looking for a string searching algorithim which
  13. > handles wildcards. As follows:
  14. >
  15. >     * means any one character.
  16. >     # means a string of arbitary characters of any lenght.
  17.  
  18. I  suggest  you  to  refer to your dos.library AutoDocs [ParsePattern() and
  19. related functions].  From V36 on, pattern matching in the way you described
  20. above is included in the dos.library, so there should be no need to develop
  21. your own routines.
  22.  
  23.     Ralph
  24. --
  25. "It was foolish for Russell to approach the hornets nest in the first place,
  26.  but his timing was particularly bad." (Larson) <> rseichter@darkness.gun.de
  27.                   Tel (49) 2233 70293 <> Zodiac's Point 3.0
  28.