Pattern-matching source code

Ozan Yigit oz at yunexus.yorku.ca
Tue Feb 19 06:42:40 AEST 1991


In <1991Feb14.143705.3911 at ux1.cso.uiuc.edu> gordon at 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 at nexus.yorku.ca
that is very little. -- Dan Rather    | UUCP: utzoo/utai!yunexus!oz



More information about the Comp.lang.c mailing list