Terry Reedy <[EMAIL PROTECTED]> wrote: > Depending upon you particular application, 'completeness' may be a > more relevant concern than 'performance'. I believe the original > Python regex engine did not have all the Perl extensions, some of them > decidedly 'non regular'. It was replace by the 'perl-compatible regex > engine' (pcre or pre), written in C by a non-pythonista so that other > languages/applications, like Python, could drop it in and have what > the title claimed -- perl-like re capability.
By way of comparison, there do exist at least some Perl-compatible regex libraries in other non-Perl languages, which don't use libpcre. An example is CL-PPCRE (http://www.weitz.de/cl-ppcre/), which claims to be "more compatible with the regex semantics of Perl 5.8.0 than, say, Perl 5.6.1 is." -- Karl A. Krueger <[EMAIL PROTECTED]> { s/example/whoi/ } -- http://mail.python.org/mailman/listinfo/python-list