I found, a while back, a regex library for C++ that was mostly Perl compatible. As you point out, the code actually in Perl is rather difficult to fathem and simply grabbing that part and incorporating it into a C program is not possible. But having that kind of power in the "other" language is so lustful...
I am writing my own engine. Hopefully, I'll gain some insights into Perl's.
_____________________________________________________
Jeff japhy Pinyan:
Perl,
regex,
and perlhacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;