[Github-comments] [geany/geany] Multi-line matching with regular expression should be default (#1588)

Deep Sleep notifications at xxxxx
Fri May 24 15:22:35 UTC 2019


Hmm, ah, so the main purpose for single line matching is to save memory, since a 1-2 GB txt file might cause some serious trouble.. and is just not as optimized as searching line by line, no?

But again especially regex like "(.+)\nfoobar" or anything with "\n" will fail without multi-line search. Anyway, I see why there are both options. But at least there should be something like a warning that "\n cannot be found in single-line mode" or something, unless someone has a better solution, which could also be optimized while being able to detect every symbol and regex correctly (one less option to care about).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1588#issuecomment-495675660
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190524/6f7d0467/attachment.html>


More information about the Github-comments mailing list