Updating for pcre validation