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.