@mmat1 - yeah we know exactly what the problem is, and it will only be an issue with regexes involving using the /K switch or other lookbehind style assertions.
Sigil 0.5.907 had a change made to F&R to address several legacy nasties, including intermittently replacing the wrong text or with \1 etc. Unfortunately that fix put in place is now "too strict" for this /K flag to work successfully. So we need to come up with a compromise between the approaches without letting the bugs come back or restricting what expressions can be used.
The reason why Replace All works is because it does the replace in a different way that does not involve selections and cursor positions on the screen (which are the cause of all the complications and issues that occur with an interactive Replace).
|