Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fixing issue 14163, F&R replaces all content of file when replacing new line #14175

Merged
merged 1 commit into from
May 18, 2018

Conversation

navch
Copy link
Contributor

@navch navch commented Mar 27, 2018

Edge case for "\n". In this case, the value of ch was -1 because of match.index value and value returned by lastIndexOf is same.

Issue #14163

Please review @swmitra @nethip

Copy link
Collaborator

@sobisht sobisht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants