Skip to content

Commit c10b0a6

Browse files
authored
Fix mentions to handle non-latin names during import (#7078)
Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com>
1 parent 7710ff8 commit c10b0a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/import-tool/src/clickup/clickup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ interface ImportIssueEx extends ImportIssue {
6262
}
6363

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

6868
process (json: MarkupNode): MarkupNode {

0 commit comments

Comments
 (0)