Frank Wunderlich wrote:
Von: Alphax <[EMAIL PROTECTED]>
Ervin Peters wrote:
Isn't using 'Search & Replace' with regex and '\n' an easy way to do it?
I've found that you need to disable regex and enable "transform
backslash expressions", and it helps to turn line endings on
(ctrl+shift+9) so you can see if the line endings are CRs, LFs or a mix
of both. Best to do '\r' and '\n' if you want to be certain.
I've tried both solutions but \n is not found, i have created a simple
textfile with 4 lines and windows-line-breaks (CRLF, \r\n). they will be
displayed if i show line-end-characters.
i tried also to mark all and search in selection. but \n wasn't found.
Greets frank
For me it go.
it needs only
"transform backslash expressions"
maybe you need also
"wrap around"
But some time ago I neede to use with RegExp (also) & it didn't do the game.
Now also, I can't get change in RegExpr
for example change
\([sf]\)\n
with
\1\n\n
More tests give me that the problem is in searching \n (with regexp)
replacing are ok.
Miguel
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest