I need your opinion on the best way to include regular expression searches in a C app. I presume there is some library out there...my other option is embedded perl.
I need your opinion on the best way to include regular expression searches in a C app. I presume there is some library out there...my other option is embedded perl.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
There is a regular expression library that works pretty well.
POSIX systems support regular expressions. You should probably have a man page/pages for it; look for regcomp, or regexec.
There's also PCRE, which does Perl-style regular expressions. I'm not sure what range of implementations PCRE works on; POSIX at least.
This here looks like a good thread.