mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-09-22 02:19:09 -04:00
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 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');
|
||||
Reference in New Issue
Block a user