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

[Question] Is there a reason why regex is used instead of re? #228

Open
carsonip opened this issue Apr 2, 2019 · 1 comment
Open

[Question] Is there a reason why regex is used instead of re? #228

carsonip opened this issue Apr 2, 2019 · 1 comment

Comments

@carsonip
Copy link
Contributor

carsonip commented Apr 2, 2019

Is there a reason why regex is used instead of Python standard library re? I am thinking about moving to PyPy and re is faster than regex in PyPy. As a side note, some versions of regex package has some issues.

@carsonip
Copy link
Contributor Author

carsonip commented Apr 2, 2019

From docs/Benchmarks.md I see that it is about performance. With re the tests are still passing. Can I safely assume that regex can be replaced by re?

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