Skip to content

Commit 4dfcf98

Browse files
committed
Improve GH issue regex
1 parent afecf72 commit 4dfcf98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)