Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Regex replace \n with empty string not working #1144

Open
1 task
cdalexndr opened this issue Nov 14, 2020 · 2 comments
Open
1 task

Regex replace \n with empty string not working #1144

cdalexndr opened this issue Nov 14, 2020 · 2 comments

Comments

@cdalexndr
Copy link

Prerequisites

Description

Replace all \n regex with empty string does nothing.

Steps to Reproduce

  1. Input asd\nasd
  2. Ctrl+F, enable "Use Regex" and try to replace \n with empty string
  3. input still contains newline

Expected behavior:

Newline removed

Actual behavior:

Input still contains newline

Reproduces how often:

Ever time.

Versions

Atom : 1.53.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0

Additional Information

@UziTech
Copy link
Contributor

UziTech commented Nov 15, 2020

This issue should be on https://github.com/atom/find-and-replace

@sadick254 sadick254 transferred this issue from atom/atom Nov 18, 2020
@ajostergaard
Copy link

"Use ripgrep" sorted this for me. :)

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

No branches or pull requests

3 participants