work on pcre support in regex.c/h