[IronPython] re.findall bug
Sanghyeon Seo
sanxiyn at gmail.com
Fri Sep 22 14:08:24 CEST 2006
This only happens if you compile the pattern.
To Mono users who don't get the same result as below: it's normal.
Mono bug #79472. http://bugzilla.ximian.com/show_bug.cgi?id=79472
IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import re
>>> re.findall('(a)(b)', 'abab')
[('a', 'b'), ('a', 'b')]
>>> re.compile('(a)(b)').findall('abab')
['ab', 'ab']
--
Seo Sanghyeon
More information about the Ironpython-users
mailing list