Article View: comp.os.linux.development.apps
Article #50Re: REGEX ---> REGEXEC?
From: Scott Anthony Hamilton
Date: Thu, 19 Jun 1997 00:00
Date: Thu, 19 Jun 1997 00:00
33 lines
2040 bytes
2040 bytes
westsj@latcs1.cs.latrobe.edu.au (Shane West) writes: >Hiya! > I'm currently trying to compile some software on a Linux box >that was originally developed on a CT S640 running UNIX System V Release >5.3. The Linux machine is running Slackware Linux 2.0.29. The original >code included calls to regex and regcmp. I have been told that these >functions are compatible with linux's regexec and regcomp functions. Is >this information correct? >I have tried defining regex as regexec etc in the source, it was working >fine until I received the following compiler error: >too many arguments to function 'regexec' >What can I do to fix this problem? >Any help would be appreciated. I recall some time ago having similar problems with these posix regular expression functions under linux. It was the first time I'd used them under any platform and the problem turned out to be my misunderstanding of how they worked. The linux man pages weren't quite clear enough for these functions, upon reading the Solaris man pages I discovered my errors. <forwarded info on these funcs to Shane> -- Scott Hamilton | sah@uow.edu.au | PGP Key: finger -l sah@rabble.uow.edu.au
Technical Details
Message-ID:
<sah.866718505@wumpus>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5o7hqu$em9@lion.cs.latrobe.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 135ade,51aad78328b11c05 X-Google-Attributes: gid135ade,public X-Google-Thread: 10c696,51aad78328b11c05 X-Google-Attributes: gid10c696,public X-Google-Thread: faa64,51aad78328b11c05 X-Google-Attributes: gidfaa64,public X-Google-Thread: 1103af,51aad78328b11c05 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,51aad78328b11c05 X-Google-Attributes: gid102983,public From: sah@uow.edu.au (Scott Anthony Hamilton) Subject: Re: REGEX ---> REGEXEC? Date: 1997/06/19 Message-ID: <sah.866718505@wumpus> X-Deja-AN: 251088274 References: <5o7hqu$em9@lion.cs.latrobe.edu.au> Organization: University of Wollongong, NSW, Australia. Newsgroups: comp.os.linux.development.apps,aus.computers.linux,latrobe.linux,comp.os.linux.misc,alt.os.linux