@b4n said:

>  if the replacement contains the search term, it'll be replaced recursively 
> forever (infinite loop + steady memory growth).

@xiota said:

>  replace_all searches for needle starting from the beginning of haystack. If 
> replacement contains needle, the result is an infinite loop.

Those seem to say the same to me, and "infinite loop" (at least until it runs 
out of memory :-) sounds like the issue, sounds like furious agreement :-D

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1232#issuecomment-2076883362
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/1232/[email protected]>

Reply via email to