Skip to content

Commit

Permalink
Fix mentions to handle non-latin names during import (#7078)
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com>
  • Loading branch information
akhismat authored Nov 1, 2024
1 parent 7710ff8 commit c10b0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/import-tool/src/clickup/clickup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ interface ImportIssueEx extends ImportIssue {
}

class ClickupMarkdownPreprocessor implements MarkdownPreprocessor {
private readonly MENTION_REGEX = /@([A-Za-z]+ [A-Za-z]+)/g
private readonly MENTION_REGEX = /@([\p{L}\p{M}]+ [\p{L}\p{M}]+)/gu
constructor (private readonly personsByName: Map<string, Ref<Person>>) {}

process (json: MarkupNode): MarkupNode {
Expand Down

0 comments on commit c10b0a6

Please sign in to comment.