Lolo:
--------------------------------------------------------------------------------
Hello,

I have found a small bug with the last version of phReplace v1.4.3

In the following text bellow:
01;00;Z
01;01;Z
01;02;Z

If you try to replace ^([0-9]+;) by $1ABC with the button "Replace" you obtain:
01;ABC00;ABCZ
01;ABC01;ABCZ
01;ABC02;ABCZ

While you should have:
01;ABC00;Z
01;ABC01;Z
01;ABC02;Z

If I use the button "Replace All", it works nice.
I suppose it is a bug.

Thanks, have a nice day and I really love phReplace.

Lolo.
--------------------------------------------------------------------------------

I can confirm this behaviour; I guess, it might be complicated to correct it;
for single replacements probably the actual cursor position is also taken as the
begining of the string (for the replacement) - mathced with ^., in this case the
boundary corresponds.
if you use something like
01;X00;Z 
01;X01;Z 
01;X02;Z

it works as expected.

vbr

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

Odpovedet emailem