home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / prolog / 1677 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.1 KB

  1. Xref: sparky comp.lang.prolog:1677 comp.lang.c:13345
  2. Newsgroups: comp.lang.prolog,comp.lang.c
  3. Path: sparky!uunet!gatech!hubcap!opusc!usceast!usenet
  4. From: James B. Wilkinson <wilkins@cs.cofc.edu>
  5. Subject: Re: Need code to match strings with regular expressions
  6. Message-ID: <1992Sep8.200014.11691@usceast.cs.scarolina.edu>
  7. X-Xxdate: Tue, 8 Sep 92 16:01:30 GMT
  8. Sender: usenet@usceast.cs.scarolina.edu (USENET News System)
  9. Organization: The College of Charleston
  10. X-Useragent: Nuntius v1.1.1d9
  11. References: <1992Sep7.094208.13949@odin.diku.dk> <513@tower1.uucp>
  12. Date: Tue, 8 Sep 92 20:00:14 GMT
  13. Lines: 11
  14.  
  15. >milan@bcsaic.boeing.com (Milan Richter) writes:
  16. >
  17. >>I am looking for a public domain code for matching strings with regular
  18. >>expressions. Essentially, given a string and a regular expression (such
  19. as,
  20. >>e.g., are used in emacs), I want to tell whether they match.
  21. >
  22. >>Can anyone provide pointers to either C or Prolog implementation?
  23. Purdue Compiler-Construction Tool Set comes with C source for a function
  24. called rexpr(char *, char *) which seems to do what you want.  SIGPLAN
  25. Notices Feb. 1992 page 92.
  26.