Use regex.h instead of pcre