Skip to content

Commit fe5aa0d

Browse files
authored
fix: match non-ASCII author names and @ (#161)
1 parent 111e796 commit fe5aa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-iobroker/src/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function limitKeys<T>(obj: Record<string, T>, count: number): Record<stri
1414
return ret;
1515
}
1616

17-
const changelogAuthorRegex = /^[ \t]*[\*\-][ \t]*\([a-z0-9\-_,;&\+\/ ]+\)[ \t]*/gim;
17+
const changelogAuthorRegex = /^[ \t]*[\*\-][ \t]*\([\p{L}\p{M}0-9@\-_,;&\+\/ ]+\)[ \t]*/gim;
1818
const changelogBulletPointTestRegex = /^[ \t]*[\*\-][ \t]*/;
1919
const changelogBulletPointReplaceRegex = new RegExp(changelogBulletPointTestRegex, "mg");
2020

0 commit comments

Comments
 (0)