Make a safe wrapper around regex.h regcomp/regexec

Next: more error handling, standalone library