git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-send-email: handle email address with quoted comma

From
MKMatt Kraai <kraai@ftbfs.org>
Date
Dec 19, 2008, 06:38 UTC
Message-ID
<20081219063806.GA5425@ftbfs.org>
Howdy,
Show 6 quoted lines
> +sub split_addrs($) {
> +    my ($addrs) = @_;
> +
> +	return &quotewords('\s*,\s*', 1, $addrs);
> +}
> +
According to the documentation of Text::ParseWords,
 The &*quotewords() functions simply call &parse_line(), so if you're
 only splitting one line you can call &parse_line() directly and save
 a function call.

so quotewords could be replaced by parse_line. I don't know if that's less readable, though.

-- 
Matt                                                 http://ftbfs.org/
Message 1 of 1 in “Re: [PATCH] git-send-email: handle email address with quoted comma”
  1. Matt KraaiDec 19, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.