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.
Printable View
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.
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.