Skip to content

Commit

Permalink
fix: regex in 'update-authors.js'
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Sep 25, 2021
1 parent 06f3f63 commit 011a5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-authors.js
Expand Up @@ -38,7 +38,7 @@ const excludeEmails = [
// `Co-authored-by:` in the message body. Both have been used in the past
// to indicate multiple authors per commit, with the latter standardized
// by GitHub now.
const authorRe = /(^Author:|^Co-authored-by:)\\s+(?<author>[^<]+)\\s+(?<email><[^>]+>)/i;
const authorRe = /(^Author:|^Co-authored-by:)\s+(?<author>[^<]+)\s+(?<email><[^>]+>)/i;

rl.on('line', line => {
const match = line.match(authorRe);
Expand Down

0 comments on commit 011a5a4

Please sign in to comment.