Closed slideclick closed 9 years ago
named group capture: There is a wrong ' more: ''foo.txt'
rx = '^(?P.+).(?P.+)$' m = re.search(rx, ''foo.txt')
m.groupdict()['file'] m.groupdict()['suffix']
Thanks, it is fixed.
named group capture: There is a wrong ' more: ''foo.txt'
rx = '^(?P.+).(?P.+)$'
m = re.search(rx, ''foo.txt')
m.groupdict()['file'] m.groupdict()['suffix']