-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Automatically optimize regexes #278
Labels
Comments
This looks interesting. Let's get 6.0 out of the door ASAP! ;-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After I complete the regex engine refactor, I'd like to have it be able to optionally optimize the regexs by performing transformations similar to the ones found here:
https://bisqwit.iki.fi/source/regexopt.html
I've in the past done some experiments where we can trivially replace things like
[0-9]
(which gets expanded to[0123456789]
) just a\d
which is much more efficient in both time and space.This is a low priority for now since we're pushing for "fix all quirks and get NEdit 6.0 released", but I wanted to keep this on my radar.
The text was updated successfully, but these errors were encountered: