Added check for the PCRE extension