I’m trying to use a regex to match lines that don’t contain a certain string, like this:
^((?!word).)*$
When I use this on my text file (3 million lines aprox) not only does Sublime freeze, but my entire OS, I have to force restart my computer. I use every Sublime setting on default, and noticed that when I search files, it only uses one CPU core, so I don’t think the OS freeze has to do with all my computer resources being used.
I also noticed that this starts happening on my PC on files larger than 3million lines. Less than that and it seems to work fine, and it doesn’t even slow down the rest of Windows while doing it.
I know the task may be too heavy to handle for Sublime, but it shouldn’t crash my whole system while trying to do so.
I’m using Sublime 3 bulid 3314 on Windows 7 64-bit with an i7 4790k and 16GB RAM.
Thanks
