So re writing this in C will fundamentally mean endlessly growing a language which will look similar to the Perl implementation. Or a Perl DSL.
Not that its a bad thing, I find it interesting though. I would say you better start with a specification.
1. http://sljit.sourceforge.net/pcre.html
"Perl Compatible" isn't really Perl compatible, see http://en.wikipedia.org/wiki/PCRE for details.
So re writing this in C will fundamentally mean endlessly growing a language which will look similar to the Perl implementation. Or a Perl DSL.
Not that its a bad thing, I find it interesting though. I would say you better start with a specification.