*BSD News Article 18041


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!koriel!sh.wide!wnoc-tyo-news!hoffman!jmasgw!green!rai!tetsuji
From: tetsuji@rai.juice.or.jp (Tetsuji Rai)
Newsgroups: comp.unix.bsd
Subject: difference in regex functions
Message-ID: <1993Jul7.101759.6473@rai.juice.or.jp>
Date: 7 Jul 93 10:17:59 GMT
Organization: juice
Lines: 16


Hi, netters,
  I'm having trouble with regex function compatibility.   In SGI or OSF,
there seem to be "char *regex(char*,...)" and "char *regcmp(char*,char*,...)",
but BSDI/386(and probably 386BSD) doesn't have them.  Instead, BSDI has
regcomp and regexec, but they have different arguments.   Anyone knows
how to convert them ? (how to make regcmp and regex from regcomp and regexec)

Regards.....

-Tetsuji
---
Tetsuji Rai    tetsuji@rai.juice.or.jp
5-12-21, Toyotamakita, Nerimaku, Tokyo 176, Japan
voice: +81-3-3557-3936   fax: +81-3-3993-0323
CIS: 74610,1537