@gipsy: Odd - it worked on my Windows 7 PC. I will check it again. I spotted an error in your code:
def FixP(m):
FixP=m.group(1)+m.group(2)
You cannot use an equal sign to return the value of a function; I think your expression will equate to 'None'. To return the groups in your expression from a function, you need to use:
return( m.group(1)+m.group(2) )
|