This commit is contained in:
Robert Schäfer 2019-04-09 20:51:17 +02:00
parent adde8a5965
commit b355a244ab
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
const MENTION_REGEX = /\s@([\w_-]+)/g
export function extractSlugs(content) {
export function extractSlugs (content) {
let slugs = []
let match
while ((match = MENTION_REGEX.exec(content)) != null) {