Handle RewriteCond backreferences