See https://github.com/xtermjs/xterm.js/issues/5176 for context All searches take the same amount of time when the latter ones should take much less time due to being incremental: Test file: [test.txt](https://github.com/user-attachments/files/17243265/test.txt) 
See #5176 for context
All searches take the same amount of time when the latter ones should take much less time due to being incremental:
Test file:
test.txt