I was trying to post a comment on escaping backslashes, and ran into some formatting issues.
Namely, how to not escape backtick characters, because by default, they are always escaped following a backslash, regardless of the number of backslashes.
(repro'd in comment below)
This is despite the fact that backticks are not escaped in this way in posts: `\`
generates \
as expected.
Backticks are tricky, so a workaround may be more useful than a fix. Unless, there are hideously more use cases than just regular expressions and questions about escaping strings?
\` broken code formatting
<html>`\\\` the last backtick always escapes
$oddities`