We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea19417 commit 996c3b5Copy full SHA for 996c3b5
1 file changed
docs/.vitepress/theme/components/Contributors.vue
@@ -37,7 +37,7 @@ const nonExistent = ref<string[]>([])
37
const parsedContributors = computed(() => {
38
if (!body.value || !author.value) return []
39
40
- const list = [...body.value.matchAll(/(?:^|\s|[^\w@])@([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,38}[a-zA-Z0-9])?)(?!\.[a-z]{2,})\b/g)]
+ const list = [...body.value.matchAll(/@\[?([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,38}[a-zA-Z0-9])?)\]?/g)]
41
.map(match => match[1].trim())
42
const uncredited = author.value.includes('[bot]')
43
? notMentioned.value
0 commit comments