use PCRE (posix-compat) for regex handling