Skip to content

Commit 86eed4b

Browse files
committed
fix: prepare for one last README change
Using remark to format markdown files is going to require one final README.md format change. This accommodates that change while being backward-compatible with previous formats.
1 parent 6793666 commit 86eed4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/collaborators.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const TSC_TITLE = '### TSC (Technical Steering Committee)';
66
const TSCE_TITLE = '### TSC Emeriti';
77
const CL_TITLE = '### Collaborators';
88
const CLE_TITLE = '### Collaborator Emeriti';
9-
const CONTACT_RE = /\* +\[(.+?)\]\(.+?\) +-\s+\*\*(.+?)\*\* +(?:&lt;|\\<)(.+?)(?:&gt;|>)/mg;
9+
const CONTACT_RE = /\* +\[(.+?)\]\(.+?\) +-\s+\*\*([^*]+?)\*\* +(?:&lt;|\\<|<<)([^>]+?)(?:&gt;|>)/mg;
1010

1111
const TSC = 'TSC';
1212
const COLLABORATOR = 'COLLABORATOR';

test/fixtures/README/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ For more information about the governance of the Node.js project, see
235235
### TSC (Technical Steering Committee)
236236

237237
* [bar](https://github.com/bar) -
238-
**Bar User** \<[email protected]> (she/her)
238+
**Bar User** <<[email protected]>> (she/her)
239239

240240
### TSC emeriti
241241

@@ -245,7 +245,7 @@ For more information about the governance of the Node.js project, see
245245
### Collaborators
246246

247247
* [bar](https://github.com/bar) -
248-
**Bar User** \<[email protected]> (she/her)
248+
**Bar User** <<[email protected]>> (she/her)
249249
* [Baz](https://github.com/Baz) -
250250
**Baz User** &lt;[email protected]&gt; (he/him)
251251
* [foo](https://github.com/foo) -

0 commit comments

Comments
 (0)