4 ms·
re depends ultimately of this c file https://github.com/python/cpython/blob/main/Modules/_sre.c https://github.com/python/cpython/blob/main/Modules/_sre.c
by makapuf 5y ago
re depends ultimately of this c file https://github.com/python/cpython/blob/main/Modules/_sre.c https://github.com/python/cpython/blob/main/Modules/_sre.c
- igouy 5y agoAnd? CPython is implemented in C. Here's some of a comment from _operator.c "This module exports a set of functions implemented in C corresponding\n\ to the intrinsic operators of Python. For example, operator.add(x, y)\n\ is equivalent to the expression x+y." Why wouldn't you expect that CPython regex would "ultimately" be written in C?