*BSD News Article 3991


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!veritas!amdcad!BitBlocks.com!bvs
From: bvs@BitBlocks.com (Bakul Shah)
Newsgroups: comp.unix.bsd
Subject: Re: re_comp/exec() ?
Message-ID: <1992Aug20.170005.18325@BitBlocks.com>
Date: 20 Aug 92 17:00:05 GMT
References: <1992Aug19.170703.6627@news.uit.no> <1575@hcshh.hcs.de>
Organization: Bit Blocks, Inc.
Lines: 15

hm@hcshh.hcs.de (Hellmuth Michaelis) writes:

>In <1992Aug19.170703.6627@news.uit.no> thostr@stud.cs.uit.no (Thomas Strandenaes) writes:

>>I can't find the re_comp/re_exec system-calls. I need these to
>>compile some of the source in /usr/othersrc. Can anyone give
>>a helping hand here?

>have a look in comp.sources.unix, volume7, Archive-name: regex, just
>needed them for index ...

Use Henry Spencer's regcomp() & regexec() that come bundled with
386bsd.  regcomp/regexec are similiar to system V's regcmp/regex
except that the object holding the compiled pattern has a
different type.  Do a `man regexp' to find out how to use them