fix PCRE error reporting