regex - How do I replace a newline in Atom? -


in atom, if activate regex mode on search-and-replace tool, can find newlines \n, when try replace them, they're still there.

is there no way replace newline-spanning string in atom?

looks atom matches newlines \r\n behaves inconsistently when replacing \n nothing.

so newlines seem match \s+ , \r\n, , "half" of line-ending matches \n.

  • if replace \n string, nothing happens line-ending, string appended next line
  • if replace \r string, nothing happens @ all, cursor advances.

Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

android - Format a french phone number -