Match pull as well as pr

This commit is contained in:
Tarrgon
2026-05-12 10:49:31 -04:00
parent 7144f6fda8
commit b1801582a7
+1 -1
View File
@@ -14,5 +14,5 @@ const tagSearchRegex = '(?:[\\S]| )+?';
export const wikiLinkRegex = new RegExp(`\\[\\[(${tagSearchRegex})]]`, 'gi');
export const searchLinkRegex = new RegExp(`{{(${tagSearchRegex})}}`, 'gi');
export const prRegex = new RegExp('pr #([0-9]+)', 'gi');
export const prRegex = new RegExp('(?:pr|pull) #([0-9]+)', 'gi');
export const issueRegex = new RegExp('issue #([0-9]+)', 'gi');