problem with split

Bruno Desthuilliers onurb at xiludom.gro
Mon Oct 9 11:32:47 EDT 2006


hanumizzle wrote:
(snip)
> Regexes are usually passed as literals directly to re.compile().

For which definition of "usually" ?

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