Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP Path: utzoo!utcsrgv!garfield!philabs!cmcl2!seismo!mcvax!guido From: guido@mcvax.UUCP (Guido van Rossum) Newsgroups: net.lang.c,net.unix,net.unix-wizards Subject: Re: Is there a public domain version of regex(3) ? (YES!) Message-ID: <6261@mcvax.UUCP> Date: Wed, 19-Dec-84 07:28:17 EST Article-I.D.: mcvax.6261 Posted: Wed Dec 19 07:28:17 1984 Date-Received: Thu, 20-Dec-84 04:15:27 EST References: <6237@mcvax.UUCP> Reply-To: guido@mcvax.UUCP (Guido van Rossum) Organization: "Stamp Out BASIC" Committee, CWI, Amsterdam Lines: 33 In article <6237@mcvax.UUCP> I asked if there were any public domain versions of regex(3). I got many replies, both helpful suggestions where to look and messages saying "mail me what you've got". Thanks to all who responded; for those who wanted to see what I got, here's a summary. The most important message (for me) was one quoting Mark Horton saying that the regex.c that comes with BSD *is* public domain (though it has nothing to do with the regex(3) in System V, which is certainly *not* public domain). I also got several pointers to various public domain packages that do regular expression matching: Richard Stallman's public-domain version of UNIX (GNU) has one; contact RMS@MIT-MC.ARPA Larry Wall's "rn" has r.e. matching in search.[ch] (ripped out of emacs and made more general); see net.sources or contact sdcrdcf!lwall Kernighan & Plaugher, Software Tools in {C, Pascal}, Addison-Wesley; contact your local computer bookstore The DECUS C distribution should have one; maybe it's in DECUS grep. John Pierce has a version; sdcsvax!sdchema!jwp Dave Tilbrook's QED/TIPS (not sure if it's public domain? contact mcvax!qtlon!ist!dt) If you want more specific info, drop me a note, and I'll mail you the full file of responses. -- Guido van Rossum, "Stamp Out BASIC" Committee, CWI, Amsterdam guido@mcvax.UUCP 1,$s/\([^:]*:\)[^:]*\(:.*\)/\1\2/ (that's why I like regular expressions :-)