[IronPython] Regex incompatibility

Sanghyeon Seo sanxiyn at gmail.com
Mon May 1 06:37:19 CEST 2006


# test.py
import re
m = re.match('(?P<test>a)(b)', 'ab')
print m.groups()

# CPython
('a', 'b')

# IronPython
('b', 'a')

Seo Sanghyeon



More information about the Ironpython-users mailing list