Match pull as well as pr
This commit is contained in:
@@ -14,5 +14,5 @@ const tagSearchRegex = '(?:[\\S]| )+?';
|
|||||||
export const wikiLinkRegex = new RegExp(`\\[\\[(${tagSearchRegex})]]`, 'gi');
|
export const wikiLinkRegex = new RegExp(`\\[\\[(${tagSearchRegex})]]`, 'gi');
|
||||||
export const searchLinkRegex = 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');
|
export const issueRegex = new RegExp('issue #([0-9]+)', 'gi');
|
||||||
Reference in New Issue
Block a user