Python's regular expression?

bruno at modulix onurb at xiludom.gro
Tue May 9 11:08:15 CEST 2006


Davy wrote:
> Hi all,
> 
(snip)
> Does Python support robust regular expression like Perl?

Yes.

> And Python and Perl's File content manipulation, which is better?

>From a raw perf and write-only POV, Perl clearly beats Python (regarding
 I/O, Perl is faster than C - or it least it was the last time I benched
it on a Linux box).

>From a readability/maintenance POV, Perl is a perfect nightmare.

> Any suggestions will be appreciated!

http://pythonology.org/success&story=esr


-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list