-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #735 from excid3/improve-insert-into-file"
This reverts commit 0d3a1dd, reversing changes made to ae18824. This breaks case when the regular expression passed to after and before contains capture. Since `String#split` returns the captures inside the array we can't know with the current implementation what is the before and after the regular expression.
- Loading branch information
1 parent
75beec8
commit 5f2abca
Showing
2 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters