Closed sheki closed 5 years ago
https://docs.rs/regex/1.2.0/regex/struct.Regex.html#replacement-string-syntax says "to write a literal $
, use $$
." I'll call this out in our docs because it's not on the main page of the regex crate documentation. Thanks!
Fixed by d9d917ec9907f6f6b71cce2e5fde0659ac1023b4
I am working with some hack/php code and it has a lot of
$
symbols. I have not found a way to include$
in the replacement code.The below command
Produces this