Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape regex metacharacters in substitution string (#45)
Summary: `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 Pull Request resolved: #45 Reviewed By: zertosh Differential Revision: D51635478 Pulled By: swolchok fbshipit-source-id: 1833228369d730575141dc47a1fc5b5ef1883e50
- Loading branch information