Is the regular expression module written in C or Python?

Martin v. Loewis martin at v.loewis.de
Sat Oct 5 05:39:44 EDT 2002


"Zhitenev Alexander" <zhitenev at cs.vsu.ru> writes:

> 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.

Actually, pcre was only added in  1.5; 1.4 (and I believe back to 1.2)
only had Tatu Ylonen's regexpr.c, wrapped by regex.

Regards,
Martin



More information about the Python-list mailing list