pcre formatting