summaryrefslogtreecommitdiff
path: root/_test/tests/inc/io_replaceinfile.test.php
Commit message (Collapse)AuthorAge
* Abort io_replaceInLine when the search parameter is emptyPatrick Brown2015-05-29
|
* Minor RefactoringChristopher Smith2015-05-29
| | | | | - put test comments in more appropriate spot - move appending replacement line alongside its search/delete code
* add anchors when constructing pattern from a non-regex oldlineChristopher Smith2015-05-29
|
* Refactor code to make it simpler.Christopher Smith2015-05-28
| | | | | | | | The changes should also: - fix unlikely edge case when replacement line is the same as the old line (would have resulted in timeout) - reduce memory footprint - avoid applying string search beyond maxlines replacement limit
* Limit number of lines to replace.Patrick Brown2015-05-08