Hi,
the option mentioned in the original post seems to be an exact quote from the
release notes of EmEditor:
"Enabling the Look Around during the Selection Only Search option allows you to
use lookahead/lookbehind expressions to look outside of the selection while
matching only in the selection." (The page can be found for this exact search
phrase.)

This setting affects lookbehind and lookahead assertion, which can then be
checked even outside of the text selection considered for searching.

However, it seems to me, that this is how PSPad currently works, i.e.
with the regex search pattern
(?<=a)bc(?=d)

bc should be found, only if preceded by a and followed by d; bc is only matche,
if it is a part of abcd.
As far as I can see, the pattern works this way in PSPad even for search in
selection, where only bc is selected.

This can be seen while searching or counting the matches, there are possibly
some limitations for replacements.
Regards,
   vbr

-- 
<https://forum.pspad.com/read.php?2,73253,73279>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem