It's a tradeoff. I can remove that safety step that checks if the current selection matches the current find expression before doing a replace. That would get rid of the problem with lookbehind/lookahead terminated expressions.
But that makes it possible to accidentally damage the text if you change the selection manually and then forget you did that before clicking replace.
|