The area searched by findNext is relatively shortened if the replacement grows the text and while replace() extends findState.endpos_orig, findState.endpos is left alone. As a consequence, the text isn't searched entirely.
- BUG: replace doesn't adjust findState.endpos Thomas Lübking
- Re: BUG: replace doesn't adjust findState.endpos Phil Thompson
