Re: Problems with searching using regular expressions

Neil Hodgson <[email protected]> Wed, 13 Mar 2024 15:16:57 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Yury:

The old Scite's behaviour seems more consistent with this. I would consider 
restoring the old behaviour, but you mentioned  that *"earlier versions of 
SciTE tried something like this and it caused worse problems."*  Could you 
remember these problems?


Most likely this change that fixed infinite loops or hangs.
https://sourceforge.net/p/scintilla/code/ci/bcae0331720b9f9132d0432ac7192c730b490943/ 
Hangs cause data loss so are more important than incorrect searching.

>>>a flag for not matching the empty string at start
Do you suggest adding similar flags to the engine (RESearch.cxx) and adding 
flags to Scite to control the behaviour?


SciTE can be changed to retry-after an empty match that is the same as the 
current selection. Implementing part of this in Scintilla may help other 
applications.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/a50d904d-f162-4b34-94d0-799b2a40c462n%40googlegroups.com.