I am using 4.5.4 (2356) on Windows 7 64-bit. (But this problem existed in
previous versions and OS's as well.)

If I have a single line string say "a|b|c|d|e|f|g" and I run the find and
replace function with find set to \| replace set to \n the Regular Expressions
option checked and the direction set to Entire Scope I get a dialog that says
"Searched expression "\|" was replaced 6x".  However, what is actually on screen
is 
"a
b|c|d|e|f|g"

Clearly only one replacement was made.
Changing the direction to forward has the same result.  However, changing the
direction to backwards and putting the cursor at the end of the line results in
the expected behavior.  (Same dialog, but the result on screen is correct.)

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

Odpovedet emailem