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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -