Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex doesn't work correctly #430

Closed
Schmarotzer opened this issue Aug 28, 2023 · 5 comments
Closed

Regex doesn't work correctly #430

Schmarotzer opened this issue Aug 28, 2023 · 5 comments

Comments

@Schmarotzer
Copy link

for example:
text file:
asdasd asdasd

Search with regex: ^[A-Za-z]

will find 6 results, but must be only one

@dail8859
Copy link
Owner

Thanks for the report!

Looks like it is treating the "start" of the next search location as the "start" of a line (^).

@SimLV
Copy link

SimLV commented May 8, 2024

@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.

@dail8859
Copy link
Owner

dail8859 commented May 8, 2024

@SimLV Agree that something better needs to be done with the regex engine.

See #500 (comment) for a more indepth discussion.

@SimLV
Copy link

SimLV commented May 8, 2024

I think this could be closed in favor of #500

@dail8859
Copy link
Owner

dail8859 commented May 8, 2024

Agreed.

@dail8859 dail8859 closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants