From 011a5a43ba454fb1c3247ac51e69e855ed6ac512 Mon Sep 17 00:00:00 2001 From: Juerg B <44573692+juergba@users.noreply.github.com> Date: Sat, 25 Sep 2021 10:18:39 +0200 Subject: [PATCH] fix: regex in 'update-authors.js' --- scripts/update-authors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-authors.js b/scripts/update-authors.js index 3d996da2ac..c036c3edff 100755 --- a/scripts/update-authors.js +++ b/scripts/update-authors.js @@ -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+(?[^<]+)\\s+(?<[^>]+>)/i; +const authorRe = /(^Author:|^Co-authored-by:)\s+(?[^<]+)\s+(?<[^>]+>)/i; rl.on('line', line => { const match = line.match(authorRe);