Thanks for the bug report Seo!  I've filed bug #7531 for this 
(http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=7531).

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Sunday, January 21, 2007 5:51 AM
To: Discussion of IronPython
Subject: [IronPython] re.sub at the start of the string

import re
print re.sub('^', 'x', 'abc')

CPython prints xabc, IronPython prints just abc.

For FePy users: you can use FEPY_OPTIONS=regex to avoid this bug for
the time being.

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

Reply via email to