grep: add a test for backreferences in PCRE patterns