diff --git a/lib/collaborators.js b/lib/collaborators.js index 009d120c..3049de12 100644 --- a/lib/collaborators.js +++ b/lib/collaborators.js @@ -6,7 +6,7 @@ const TSC_TITLE = '### TSC (Technical Steering Committee)'; const TSCE_TITLE = '### TSC Emeriti'; const CL_TITLE = '### Collaborators'; const CLE_TITLE = '### Collaborator Emeriti'; -const CONTACT_RE = /\* +\[(.+?)\]\(.+?\) +-\s+\*\*(.+?)\*\* +(?:<|\\<)(.+?)(?:>|>)/mg; +const CONTACT_RE = /\* +\[(.+?)\]\(.+?\) +-\s+\*\*([^*]+?)\*\* +(?:<|\\<|<<)([^>]+?)(?:>|>)/mg; const TSC = 'TSC'; const COLLABORATOR = 'COLLABORATOR'; diff --git a/test/fixtures/README/README.md b/test/fixtures/README/README.md index 8c4084cc..48e3a6e2 100644 --- a/test/fixtures/README/README.md +++ b/test/fixtures/README/README.md @@ -235,7 +235,7 @@ For more information about the governance of the Node.js project, see ### TSC (Technical Steering Committee) * [bar](https://github.com/bar) - - **Bar User** \ (she/her) + **Bar User** <> (she/her) ### TSC emeriti @@ -245,7 +245,7 @@ For more information about the governance of the Node.js project, see ### Collaborators * [bar](https://github.com/bar) - - **Bar User** \ (she/her) + **Bar User** <> (she/her) * [Baz](https://github.com/Baz) - **Baz User** <baz@example.com> (he/him) * [foo](https://github.com/foo) -