Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deleting two consecutive matches
Summary: facebookarchive/codemod#33 also repros in fastmod. The problem was that the amount we need to advance needs to depend on the length of the substitution: if it's zero, we need to continue scanning from the exact same offset instead of advancing. Reviewed By: modocache Differential Revision: D7705574 fbshipit-source-id: e58e06f79b108e3493a7c09cdd504fc07fadc05e
- Loading branch information