whats wrong with my reg expression ?
Gert Cuykens
gert.cuykens at gmail.com
Mon Jan 15 18:43:08 EST 2007
More information about the Python-list mailing list
Mon Jan 15 18:43:08 EST 2007
- Previous message (by thread): Cygwin Python/PIL TCL/TK fork rebase solution
- Next message (by thread): whats wrong with my reg expression ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
thx
PS i also cant figure out what is wrong here ?
rex=re.compile('^"(?P<value>[^"]*)"$',re.M)
for v in l:
v=rex.match(v).group('value')
v=v.replace('""','"')
return(l)
v=rex.match(v).group('value')
AttributeError: 'NoneType' object has no attribute 'group'
- Previous message (by thread): Cygwin Python/PIL TCL/TK fork rebase solution
- Next message (by thread): whats wrong with my reg expression ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list