fn convert_replacement(repl: &str) -> String
Convert R-style replacement backreferences (\1, \2) to regex crate style ($1, $2)