Regex.match In C