[IronPython] Regex incompatibility

Dino Viehland dinov at exchange.microsoft.com
Mon May 1 17:29:03 CEST 2006


Thanks for the bug report.  I've got this one filed although I'm not sure if we'll get it fixed for beta 7 or not - it may be a little more involved depending on exactly what's going wrong here.

Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Sunday, April 30, 2006 9:37 PM
To: Discussion of IronPython
Subject: [IronPython] Regex incompatibility

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

# CPython
('a', 'b')

# IronPython
('b', 'a')

Seo Sanghyeon
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list