Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Bot only parses the first GitHub issue reference #28

Open
varkor opened this issue Jan 21, 2018 · 0 comments
Open

Bot only parses the first GitHub issue reference #28

varkor opened this issue Jan 21, 2018 · 0 comments

Comments

@varkor
Copy link

varkor commented Jan 21, 2018

Although multiple issues can be referenced by comma-separating them (e.g. Have you seen gh123,456?), splitting them in a message ignores any after the first (e.g. Have you seen gh123 and gh456?), which is a more common practice.

The problem is

@listens_to_all(ur'(?:.*)\b(?:GH|gh):(?P<repo>[\w\-\_]+)#?(?P<issues>\d+(?:,\d+)*)\b(?:.*)')
, which only looks for one occurrence.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant