Lines Matching refs:match
41 let match; variable
43 if (match = line.match(/^([^<]+)\s+(<[^>]+>)$/)) {
44 mailmap.set(match[2].toLowerCase(), {
45 author: match[1], email: match[2]
48 } else if (match = line.match(/^<([^>]+)>\s+(<[^>]+>)$/)) {
49 mailmap.set(match[2].toLowerCase(), { email: match[1] });
51 } else if (match = line.match(/^([^<]+)\s+(<[^>]+>)\s+(<[^>]+>)$/)) {
52 mailmap.set(match[3].toLowerCase(), {
53 author: match[1], email: match[2]
56 } else if (match =
57 line.match(/^([^<]+)\s+(<[^>]+>)\s+([^<]+)\s+(<[^>]+>)$/)) {
58 mailmap.set(match[3] + '\0' + match[4].toLowerCase(), {
59 author: match[1], email: match[2]
76 const match = line.match(authorRe);
77 if (!match) return;
79 let { author, email } = match.groups;