Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!yunexus!oz From: oz@yunexus.yorku.ca (Ozan Yigit) Newsgroups: comp.lang.c Subject: Re: Pattern-matching source code Keywords: pattern,match,grep Message-ID: <21692@yunexus.YorkU.CA> Date: 18 Feb 91 19:42:40 GMT References: <1991Feb14.143705.3911@ux1.cso.uiuc.edu> Sender: news@yunexus.YorkU.CA Organization: York U. Communications Research & Development Lines: 20 In <1991Feb14.143705.3911@ux1.cso.uiuc.edu> gordon@osiris.cso.uiuc.edu (John Gordon) writes: > Hi, Netters. Here is source code for a "grep"-like function. Use >it in your own programs. [Holub's verbose implementation of ad-hoc regex omitted] Hi Gordon, Holub's regex stuff is old hat. A PD implementation of all of this + more in a package that is a clone of BSD regex library was posted to this net around 1986. A much more advanced [read proper] and influential implementation of regular expression package by Henry Spencer was also posted around that time, and has been in heavy use ever since. I think you may be much better served by one of these packages in your programs. oz --- We only know ... what we know, and | Internet: oz@nexus.yorku.ca that is very little. -- Dan Rather | UUCP: utzoo/utai!yunexus!oz