79484597

Date: 2025-03-04 18:50:55
Score: 1
Natty:
Report link

I can't say anything specifically about ECMAScript, but there is a Python wrapper around Google's re2 library. https://pypi.org/project/google-re2/

There are a few "gotchas" on the pip page, but for the most part you can just "import re2 as re" and replace the re package. It is much faster for certain expressions. I went from matches taking so long they had to be cancelled to half a second.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ptth222