Patch for backreferences in PCRE replace