{"thread":{"id":"16795","subject":"Re: [PATCH] git-send-email: handle email address with quoted comma","startedAt":"2008-12-19T06:38:06Z","lastAt":"2008-12-19T06:38:06Z","messageCount":1,"participants":["Matt Kraai"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"98341","messageId":"20081219063806.GA5425@ftbfs.org","threadId":"16795","inReplyTo":null,"subject":"Re: [PATCH] git-send-email: handle email address with quoted comma","fromName":"Matt Kraai","fromEmail":"kraai@ftbfs.org","sentAt":"2008-12-19T06:38:06Z","receivedAt":"2008-12-19T06:38:06Z","isPatch":true,"sender":{"key":"kraai@ftbfs.org","avatar":null},"body":"Howdy,\n\n> +sub split_addrs($) {\n> +    my ($addrs) = @_;\n> +\n> +\treturn &quotewords('\\s*,\\s*', 1, $addrs);\n> +}\n> +\n\nAccording to the documentation of Text::ParseWords,\n\n The &*quotewords() functions simply call &parse_line(), so if you're\n only splitting one line you can call &parse_line() directly and save\n a function call.\n\nso quotewords could be replaced by parse_line.  I don't know if that's\nless readable, though.\n\n-- \nMatt                                                 http://ftbfs.org/\n"}]}