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

make mingw fedora 39 use a non-backtracking regex engine if re2 is not available #459

Open
simsong opened this issue Feb 5, 2024 · 1 comment

Comments

@simsong
Copy link
Owner

simsong commented Feb 5, 2024

I have no idea what performance will be like.

[root@b3d53215cc2e build]# yum search libgnurx
Last metadata expiration check: 0:27:57 ago on Mon Feb  5 13:49:41 2024.
=================================================== Name Matched: libgnurx ===================================================
mingw32-libgnurx.noarch : MinGW Regex library
mingw32-libgnurx-static.noarch : Static version of the MinGW Windows regular expression library
mingw64-libgnurx.noarch : MinGW Regex library
mingw64-libgnurx-static.noarch : Static version of the MinGW Windows regular expression library
[root@b3d53215cc2e build]#

Perhaps @jonstewart can recommend something else?

@simsong simsong changed the title make mingw fedora 39 use libgnurx if re2 is not available make mingw fedora 39 use a non-backtracking regex engine if re2 is not available Nov 16, 2024
@simsong
Copy link
Owner Author

simsong commented Nov 16, 2024

ChatGPT recommends:

  • Oniguruma
  • TCL's RE library

https://chatgpt.com/share/673917be-2c08-8010-bf3d-5cfbcb61d074

Another option is to simply use 1K pages, rather than 4M pages, but the last time I did that I wasn't happy with it.

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

1 participant