> I was wondering if it is possible to access the perl regex engine from a > C program. Is there a interface to it? Have people done it ? I > guess so, but where should I start searching ? It isn't the Perl regex engine, but libpcre (Perl Compatible Regular Expressions) is fairly close. Failing that, you'd probably need to either copy and paste chunks of the Perl source code, or use libperl and run the regexps from embedded Perl. Of course, if you just need regular expressions, and aren't bothered about the Perl-specific things, you could use the regex functions in libc (regcomp, regexec, regerror, and regfree). Steven Smith, sos22@cam.ac.uk.