psss...I want to move from Perl to Python

Cameron Simpson cs at zip.com.au
Sat Jan 30 22:48:09 EST 2016


On 30Jan2016 19:22, rusi <rustompmody at gmail.com> wrote:
>Python 3.4.3+ (default, Oct 14 2015, 16:03:50)
>[GCC 5.2.1 20151010] on linux
>Type "help", "copyright", "credits" or "license" for more information.
>>>> python.el: native completion setup loaded
>>>>
>>>> import re
>>>> re._MAXCACHE
>512
>
>Have you ever seen a program that uses 512 re's?
>I havent :-)

I have. I've got one right here. It happens to be in perl, but it has been in 
need of a recode in Python for a long time. It has about 3000 regexps.

Of course they will be explicitly compiled in the recode.

Cheers,
Cameron Simpson <cs at zip.com.au>



More information about the Python-list mailing list