find: l
replace: self.l
replace all=infinite loop (see result)
sample code
l=1
result:
self.self.self.self.self.self.self.self......self.self.self.l
search position is not moving to end of replaced block before finding next occurrence.
find: self.l
replace: l
replace all
sample code:
self.l=self.l-1
result:
l=self.l-1
second occurrence not found at all, until you move cursor to before txt to be replaced.
Grant