Nikki DelRosso added the comment:
Perfect; thank you!
--
___
Python tracker
<http://bugs.python.org/issue1519638>
___
___
Python-bugs-list mailing list
Unsub
Nikki DelRosso added the comment:
Sorry, the non-working command should look as follows:
re.sub(r'(?:\((?:(\d+)|.*?)\)\s*)+$','\\1','avatar (special edition)')
--
___
Python tracker
<ht
Nikki DelRosso added the comment:
I'm having the same issue as the original author of this issue was. The
workaround does not apply to the situation where the captured text is on one
side of an "or" grouping, rather than just being optional.
I'm trying to remo