Roundup Tracker - Issues

Message7046

Author ced
Recipients ced
Date 2021-01-07.16:37:14
Message-id <1610037434.38.0.260911600915.issue2551108@roundup.psfhosted.org>
In-reply-to
When using Markdown format if the message content a markdown link to an existing issue, the result is that we have a link to the issue with a text like `[issuexyz](issuexyz)`.
This is because call to `hyper_re.sub` call the method for every non-overlapping occurrence of the pattern.
I think a possible option is to use rewrite the regexp to not overlap (as suggested by https://stackoverflow.com/questions/5616822/python-regex-find-all-overlapping-matches#comment81721360_5616822).
I think also that the problem exist for other format using the same regexp.
History
Date User Action Args
2021-01-07 16:37:14cedsetrecipients: + ced
2021-01-07 16:37:14cedsetmessageid: <1610037434.38.0.260911600915.issue2551108@roundup.psfhosted.org>
2021-01-07 16:37:14cedlinkissue2551108 messages
2021-01-07 16:37:14cedcreate