Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!math.lsa.umich.edu!emv From: samalone@athena.mit.edu (Stuart A. Malone) Newsgroups: comp.archives Subject: [comp.sys.mac.programmer] Re: PD C Code for Parsing Regular Expressions Keywords: regular expressions, C, PD Message-ID: <1990Aug2.013140.11265@math.lsa.umich.edu> Date: 2 Aug 90 01:31:40 GMT Sender: emv@math.lsa.umich.edu (Edward Vielmetti) Reply-To: samalone@athena.mit.edu (Stuart A. Malone) Followup-To: comp.sys.mac.programmer Organization: University of Michigan, Department of Mathematics Lines: 22 Approved: emv@math.lsa.umich.edu (Edward Vielmetti) X-Original-Newsgroups: comp.sys.mac.programmer Archive-name: gnu-regexp/01-Aug-90 Original-posting-by: samalone@athena.mit.edu (Stuart A. Malone) Original-subject: Re: PD C Code for Parsing Regular Expressions Archive-site: prep.ai.mit.edu [18.71.0.38] Archive-directory: /u2/emacs Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti) In article eberard@bse.com writes: >I am looking for public domain C code which parses regular expressions >(e.g., as in ed, ex, vi, sed, awk, and grep). It would be best if this >code was compatible with MPW C, but I'll take anything. The Free Software Foundation distributes free (but NOT public domain) regular expression code that they use in their programs. On the Internet, you can FTP to prep.ai.mit.edu and look in the directory /u2/emacs for the latest version of grep-*.tar.Z. Read the file COPYING first, because the FSF requires that programmers who incorporate FSF code into their own projects must give away their own source code for free, as well. If you can't live with this restriction, then you'll have to look elsewhere. --Stuart A. Malone samalone@athena.mit.edu