Need a specific sort of string modification. Can someone help?

Tim Chase python.list at
Sat Jan 5 19:49:06 CET 2013

On 01/05/13 11:24, Tim Chase wrote:
>  I don't know how this version times out:
>     import re
>     r = re.compile(r"[-+](\d+)([^-+]*)")
>     def modify(m):
>         result =[int(]
>         return result

Doh, I intended to change this after testing, making it just


rather than expending an intermediate variable I used for testing


More information about the Python-list mailing list