Skip to content

Commit

Permalink
fix: match non-ASCII author names and @ (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r authored Apr 15, 2024
1 parent 111e796 commit fe5aa0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-iobroker/src/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function limitKeys<T>(obj: Record<string, T>, count: number): Record<stri
return ret;
}

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

Expand Down

0 comments on commit fe5aa0d

Please sign in to comment.