Python 2's re module should take longs
30 Sep
2014
30 Sep
'14
12:16 p.m.
This works: re.search('(abc)', 'abc').group(1) but this doesn't: re.search('(abc)', 'abc').group(1L) The latter raises "IndexError: no such group". Shouldn't that technically work? -- Ryan If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated." Personal reality distortion fields are immune to contradictory evidence. - srean Check out my website: http://kirbyfan64.github.io/
3487
Age (days ago)
3488
Last active (days ago)
11 comments
9 participants
participants (9)
-
Antoine Pitrou
-
Chris Kaynor
-
Georg Brandl
-
Ned Deily
-
random832@fastmail.us
-
Rob Cliffe
-
Ryan Gonzalez
-
Steven D'Aprano
-
Terry Reedy