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

Bot only parses the first GitHub issue reference #28

@varkor

Description

@varkor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions