NotepadNext
NotepadNext copied to clipboard
Regex doesn't work correctly
for example:
text file:
asdasd asdasd
Search with regex: ^[A-Za-z]
will find 6 results, but must be only one
Thanks for the report!
Looks like it is treating the "start" of the next search location as the "start" of a line (^
).
@dail8859 It seems there is a bug in Scintilla implementation of regexp. I want to include PCRE2 in project (and lua bindings for it) as best implementation and because QRegExp is weaker.
@SimLV Agree that something better needs to be done with the regex engine.
See https://github.com/dail8859/NotepadNext/issues/500#issuecomment-1908485748 for a more indepth discussion.
I think this could be closed in favor of #500
Agreed.