facebookincubator / fastmod

A fast partial replacement for the codemod tool
Apache License 2.0
1.66k stars 41 forks source link

Feature Request: support "--fixed-strings" for substitute string #22

Closed jduan closed 4 years ago

jduan commented 4 years ago

It seems like there's no way to supply a fixed string as the substitute string. Can this be added? When a fixed string is used as the regex, it's not uncommon that you would want to use a fixed substitute string as well. Thanks!

Treit commented 4 years ago

Isn't the substitute string already a fixed string?

jduan commented 4 years ago

Thanks for the quick response. I can't recall what I was trying to do and what trouble I had. Now I can't think of a use case. I'll close it for now.