1
Vote

Replace all infinite loop

description

When trying to replace a phrase in a processing instruction with another phrase that contains the first, the application will go into an infinite loop.
for example:
searching for the phrase 'example'
and replacing it with 'example_1'
will create a loop as follows that will result with 'example_1_1_1_1_1_1_1_1_1_1_1...'

For some reason, this only happens in a very specific scenario, but results are constant.
I didn't figure out what are the full requirements to make this happen, but in the attached xml, replace all 'Camera' with 'Camera_1' to get results.

Found on a windows 10 station, don't know if that has anything to do with that.

file attachments

comments