Closed GoogleCodeExporter closed 9 years ago
I have no idea why that test failed.
I've released a new version (regex 2013-06-05), so could you re-test with that.
Here's what I'm getting:
>>> regex.purge()
>>> regex.compile(r"(?V1-i)Ab", flags=regex.I | regex.D)
STRING 'Ab'
regex.Regex('(?V1-i)Ab', flags=regex.D | regex.F | regex.V1)
>>> regex.search(r"(?V1-i)Ab", "ab", flags=regex.I).span()
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
regex.search(r"(?V1-i)Ab", "ab", flags=regex.I).span()
AttributeError: 'NoneType' object has no attribute 'span'
Original comment by re...@mrabarnett.plus.com
on 5 Jun 2013 at 2:18
I've tested with the new version, but the unittest failure is still there.
Original comment by sandro.tosi
on 11 Jun 2013 at 7:27
Did you get the same results as message #1, apart from it saying it matches?
What can you tell me about the platform? 32-bit vs 64-bit, little-endian vs
big-endian, etc
Original comment by re...@mrabarnett.plus.com
on 11 Jun 2013 at 8:01
1. yep, same exact message
2. it's a 64bit Intel(R) Core(TM) i7 CPU Q 720
Original comment by sandro.tosi
on 11 Jun 2013 at 8:08
I still can't see where the problem lies.
Could you try the attached _regex.c in place of the released one, run just:
print(regex.search(r"(?V1-i)Ab", "ab", flags=regex.I).span())
and give me the output?
Original comment by re...@mrabarnett.plus.com
on 11 Jun 2013 at 11:54
Attachments:
No reply since June 2013, so closing as invalid.
Original comment by re...@mrabarnett.plus.com
on 21 Oct 2013 at 11:43
Original issue reported on code.google.com by
sandro.tosi
on 4 Jun 2013 at 8:41