Thread View: comp.os.linux.development.apps
3 messages
3 total messages
Started by Shane West
Wed, 18 Jun 1997 00:00
REGEX ---> REGEXEC?
Author: Shane West
Date: Wed, 18 Jun 1997 00:00
Date: Wed, 18 Jun 1997 00:00
29 lines
1863 bytes
1863 bytes
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. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Shane West School of Psychological Science La Trobe University Bundoora, Victoria 3083, Australia Phone: + 61 3 9479 2147 E-mail: westsj@latcs1.lat.oz.au. Http://www.cs.latrobe.edu.au/~westsj/home.html ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: REGEX ---> REGEXEC?
Author: James Youngman
Date: Wed, 18 Jun 1997 00:00
Date: Wed, 18 Jun 1997 00:00
8 lines
963 bytes
963 bytes
westsj@latcs1.cs.latrobe.edu.au (Shane West) writes: > too many arguments to function 'regexec' > > What can I do to fix this problem? Post the surrounding snippet of code?
Re: REGEX ---> REGEXEC?
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads