in reply to Regexp and Inline::C

I thank you guys. This helped me much. My intention was to subsitute a pure perl function with a function written in C.

Replies are listed 'Best First'.
Re^2: Regexp and Inline::C
by ikegami (Patriarch) on Apr 15, 2010 at 15:07 UTC

    You can't call Perl operators (from C or anywhere), just functions.

    The regex pattern doesn't have to be hardcoded — it could be passed as an argument — but if you want to call Perl's match operator, you'll need to call a Perl function that contains it.