We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fixes
refs
1 parent 5389a25 commit 5da9c55Copy full SHA for 5da9c55
lib/links.js
@@ -1,8 +1,8 @@
1
import cheerio from 'cheerio';
2
3
-const FIXES_RE = /^(Close[ds]?|Fix(e[ds])?|Resolve[sd]?)\s*:\s*(\S+)/mgi;
+const FIXES_RE = /^\s*(Close[ds]?|Fix(e[ds])?|Resolve[sd]?)\s*:\s*(\S+)/mgi;
4
const FIX_RE = /(Close[ds]?|Fix(e[ds])?|Resolve[sd]?)\s*:\s*(\S+)/i;
5
-const REFS_RE = /^Refs?\s*:\s*(\S+)/mgi;
+const REFS_RE = /^\s*Refs?\s*:\s*(\S+)/mgi;
6
const REF_RE = /Refs?\s*:\s*(\S+)/i;
7
const PR_RE = /PR-URL\s*:\s*(\S+)/i;
8
0 commit comments