Closed ahupp closed 9 months ago
fastmod -F 'something' '$foo.bar'
was replacing with .bar, not $foo.bar as intended. Now it works.
.bar
$foo.bar
Docs for replacement string escaping: https://docs.rs/regex/1.9.6/regex/struct.Regex.html#replacement-string-syntax
@swolchok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@swolchok merged this pull request in facebookincubator/fastmod@8070231e256a6432e3699109d645214269aa151e.
fastmod -F 'something' '$foo.bar'
was replacing with
.bar
, not$foo.bar
as intended. Now it works.Docs for replacement string escaping: https://docs.rs/regex/1.9.6/regex/struct.Regex.html#replacement-string-syntax