Re: \l operation in regular expressions

2005-05-24 Thread Fredrik Lundh
"Kalle Anka" <[EMAIL PROTECTED]> wrote: > I've started to play around with regexps in Python and I tried > something like this > > print re.sub( r'(\bw\w+\b)', r'\u\1', 'will it work') > > and get > > \uwill it \uwork > > when I had expected > > Will it Work > > I tried to find some documentation

\l operation in regular expressions

2005-05-24 Thread Kalle Anka
I've started to play around with regexps in Python and I tried something like this print re.sub( r'(\bw\w+\b)', r'\u\1', 'will it work') and get \uwill it \uwork when I had expected Will it Work I tried to find some documentation about this but I can't find anything that says if operations li