Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Search and replace infinite loop #4270
When using the search and replace feature of the editor, clicking "replace all", the editor does not respond anymore. This happens when the replacement term contains the term we search for itself.
-> Replace all
Will end up crashing Processing because it always finds the term "bcd" and puts another "a" in front of it (like "aaaaaaaaaaaaaaaaaaabcd").