So, have if you've read the manual far enough to get to regcomp, then surely you noticed that the next function is regexec?