Carlo <ca...@somewhere.com> writes:

> On 2010-12-01, Peter Otten <__pete...@web.de> wrote:
>>>>> import re
>>>>> re.compile("([a-z])([A-Z])").sub(r"\1 \2", "camelCase")
>> 'camel Case'
>
> Very simple if you know it. Thank you!

And almost as cryptic as Perl!!
-- 
Piet van Oostrum <p...@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
Nu Fair Trade woonartikelen op http://www.zylja.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to