[IronPython] Regexp issue, or not :)

Albert Einstein porkone at wp.pl
Wed Apr 19 13:32:01 CEST 2006


I checked sample from Python Regexp tutorial and I found something strange.

CPython and IronPython:
m = re.compile("[a-z]+")
p = m.match("sometext")
p.group()

*CPython returns:
'sometext'

*IronPython returns:
Traceback (most recent call last):
File , line 0, in input##44
File , line 0, in group##15
IndexError: Index was outside the bounds of the array.

Is it bug in IronPython?
I'm using version IP 1.0 beta 5.

----------------------------------------------------
ODA DO RADOŚCI w kinach od 19 kwietnia!
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Foda.html&sid=726





More information about the Ironpython-users mailing list