Hi,

There seems to be a different behaviour in the re module...

Python:

 >>> import re
 >>> re.match("a[bcd]*b", "abcbd").group(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
IndexError: no such group

Iron Python (Beta5):

 >>> import re
 >>> re.match("a[bcd]*b", "abcbd").group(1)
''

--
Andrzej
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to