Hi there,

I started using PSPad a few weeks back... fantastic tool! Thanks the the Jan
Fiala and the plugin/addon developers!

I have had one regular difficulty with it that perhaps someone can help me
understand...

I often use regexp find/replace... and for the most part it works great for
me... but something I used to be able to do in old editors seems completely
impossible for me now....

Sample Text (line numbers added for clarity):
1. This is a test - line number 1
2.
3.
4. This is line number 4

I want to remove the excess new lines - I would do a quick F&R:  \n\n to \n

but this doesn't work - worse, I cant seem to get any combination of \n \f \c \s
to let me do find & replace across multiple lines.... and the only way I can
ever 'find' a \n is by looking for \n$ (which seems redundant!) and \n$\n$ does
not match anything.

Is this a bug or my misunderstanding of regexp syntax that is 'allowed' by other
less strict editors?

Thanks!

Alex

-- 
<http://forum.pspad.com/read.php?2,37887,37887>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem