added pcre regex