# [Pip], 6 bytes

    RP``.q

[Try it online!][TIO-kq8buiz4]

### Explanation

Um... well, this is interesting.

It just so happens that Pip's Pattern type (used for regex) is delimited with backticks. And that backticks can be escaped within a Pattern using backslashes.

... And furthermore, that the code for generating the Pip [repr](https://docs.python.org/3/library/functions.html#repr) of a Pattern is [incorrect](https://tio.run/##K8gs@P8/ISYmIeH/fwA), because it should escape the backslashes too, but in fact it only escapes the backticks. Which is exactly the behavior this question asks for.

"It's not a bug, it's a feature"? ¯\\\_(ツ)\_/¯

         q  Read a line of stdin
      ``.   Cast it to a Pattern by concatenating an empty Pattern to it
    RP      Get the repr

[Pip]: https://github.com/dloscutoff/pip
[TIO-kq8buiz4]: https://tio.run/##K8gs@P8/KCAhQa/w//@YBAA "Pip – Try It Online"