Is the regular expression module written in C or Python?

Zhitenev Alexander zhitenev at cs.vsu.ru
Sat Oct 5 02:53:57 EDT 2002


In Python prior to 2.0 RE engine was PCRE - Perl compatible regular
expressions, written in pure C, all Python code was only binding to it.

The newer engine SRE supports Unicode, it is written in C, but there are
some non-time-critical things written in Python.





More information about the Python-list mailing list