Skip to content

Commit 9bd7e1a

Browse files
author
Alex Rea
committed
Improve GH issue regex
1 parent f11f369 commit 9bd7e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/github-issue-link.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
module.exports = function(robot) {
2121
const github = require('githubot')(robot)
22-
const issueRegex = /([A-z0-9\-\.]*)?#(\d+)/g
22+
const issueRegex = /([/A-z0-9\-.]*)?#(\d+)/g
2323
const ignoreUsers = 'github|hubot'
2424
const apiUrl = 'https://api.github.com'
2525

0 commit comments

Comments
 (0)