From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AJcMIK8MhmXCVgEAkFu2QA (envelope-from ) for ; Fri, 22 Dec 2023 23:24:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2CwVHa8MhmWO/AAAqHPOHw (envelope-from ) for ; Fri, 22 Dec 2023 23:24:47 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=idiomdrottning.org header.s=idiomdrottningorg header.b=uDNdDslF; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=idiomdrottning.org (policy=reject) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703283887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt; bh=5NURqZwbb0eKIocofGJD5Reea25K+J0cgCG16bc23mE=; b=OUN50QOsN6PTDLHwXQEdb5kzeFiHcv+FH1nB/gL4AE8WAO8+LxpLqLMO3HkQkcf7wFTgpb KjwN+/rHYSGadYAMdvNWSldJeABYUamIt48qOx2+yiVWLMHJFHITcMNh+HeVkQEQCcZWhl ww7wmp7mBBW3jqOjGcxZq5qXMntOrqrfNNoGt1tp3AuBA2ylvF9G0CC/9f4/BVRqOWUUXi y9YX0/kpZYbM+emsj4ifR4AMboPXuImNHO+R7eezRQZnPcTPdEHtFBaNslG5EX8PPFPEhC SOKzTHtH9N+eDSgEw4zDYmWjsEROqkK+yQgbk5yaPI8Ok8GQZ+c3yYIz4hOKZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=idiomdrottning.org header.s=idiomdrottningorg header.b=uDNdDslF; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=idiomdrottning.org (policy=reject) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703283887; a=rsa-sha256; cv=none; b=JSReZge9w2K0qQqPpFB1ursxSxSC1WgWBZF4klg0YAegTnf2m0gFkUjqq0vJrlLmxYrhK+ QDVHA0QQvap7UJdHhl00jE0l3QEzGkgyDjY59TA7IgzMdBxp/Za3V0xUJobbwnGWy0v3PL TQnmPZjU2YvRTY+e4yxjBnIQthvqJF4+ZZRcncIJviYWLPD7uuvszCycnJ4El+qFbtnqUS 7IJ1dBv/ePYkQT+sFp7ir8lE9vwhVYwHVYOG4Lavde+UG7v2G/fBGvESk9SgTGsTBUoVd7 3G4yAXpugCu9V0I+CJqR6Xxhrf5gRwHNIm+Gteop/vLEKthnyIwx6GZ59HocnQ== Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8EAEC51E12 for ; Fri, 22 Dec 2023 23:24:46 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C362660A89; Fri, 22 Dec 2023 22:24:44 +0000 (UTC) Received: from halsen.idiomdrottning.org (halsen.idiomdrottning.org [IPv6:2600:3c02:e000:179::7]) by mail.notmuchmail.org (Postfix) with ESMTPS id 123DA60A16 for ; Fri, 22 Dec 2023 22:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=idiomdrottning.org; s=idiomdrottningorg; t=1703283879; bh=OeobfPvMo9UeXKyR7nnmZPbwzxdGoCkRSLGEBKeiRaA=; h=From:To:Subject:In-Reply-To:References:Date:From; b=uDNdDslFIwpH9BdYfZ4fELoT+x645TNYia7/vjng+gtmgwo3KvJgWnEtu1eKk0P+k 95plqUsNqLZ/pGyKy6ydhJtC72PwVC0UYrnb6sa2WfDB6fusIY/Oznef2jPDi1/MC3 cQs7Zhg8fBg18l1J/QveLBdX/19Zl9eSfSCW23fUhMPDJg6r938kkWx5Lx1Y15aXhr CFDeoaZasM/9IcjgkpwBwizjoWvPljK93rEe1IPtR9dmMfFdgGDzzdaFS7n4+ZrZMw BxbyBRtsX92NuITeo1if/raskNUzPjcApXotY33pBcnU8+9E/lLry/MixOvglO5XTW UnkigsP3Oqc5A== Received: from localhost (31-211-247-254.customers.ownit.se [31.211.247.254]) by halsen.idiomdrottning.org (Postfix) with ESMTPSA id 9843E20768; Fri, 22 Dec 2023 23:24:38 +0100 (CET) From: Sandra Snan To: Lars Kotthoff , notmuch@notmuchmail.org Subject: Re: [PATCH] config: allow custom separators in author lists In-Reply-To: <87il4pri5x.fsf@ellen.idiomdrottning.org> References: <170327973212.381517.8822672606278841879.kukulkan@unkai> <87il4pri5x.fsf@ellen.idiomdrottning.org> Autocrypt: addr=sandra.snan@idiomdrottning.org; prefer-encrypt=mutual; keydata= mDMEZWEIEhYJKwYBBAHaRw8BAQdAahVPtpoqkiV62AL3GSY4JaPS0i3Bu3fhbe5WIFQG9pa0LFNh bmRyYSBTbmFuIDxzYW5kcmEuc25hbkBpZGlvbWRyb3R0bmluZy5vcmc+iJMEExYIADsCGwMFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AWIQSM+QwgZjV9IBEt0Difw0TKEvFISgUCZWJbSgIZAQAKCRCf w0TKEvFIShsYAPsFMXn+tFcAwdI2hrkqqQY8I5EC9UWYC9t57VjiYv2uYQD+PUNVHVSBGQDycf3V /nXqXvZvTfcFMOz0PVMzibPl0AiIkAQTFggAOBYhBIz5DCBmNX0gES3QOJ/DRMoS8UhKBQJlYQgS AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEJ/DRMoS8UhK07EA/iV2B5e3r8t8/StJT38d x9YbuoSBmbYZJ6JHH9hoyv0hAPwMiH1M8zZUeQK/TQDqkg2Hjk0xL+U7i9ggocLJEAWQDbg4BGVh CBISCisGAQQBl1UBBQEBB0BqHjRRmoXeZmeeUZOqL1ebAflzYFA3jHwxl2sLMLlMCgMBCAeIeAQY FggAIBYhBIz5DCBmNX0gES3QOJ/DRMoS8UhKBQJlYQgSAhsMAAoJEJ/DRMoS8UhK4o0BAOB7ChkN Jc0oxRDg9WvrbUCnpLU/QdjMFcC8ymLRdzxaAP4gZVL0JQfxulc/JAxotCevk1PAF+UXpY8QalTI dooaAA== Date: Fri, 22 Dec 2023 23:24:37 +0100 Message-ID: <87edfdri3e.fsf@ellen.idiomdrottning.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Message-ID-Hash: FTD3SOELTSCWLWTFPWHVYIMS3V42AT4H X-Message-ID-Hash: FTD3SOELTSCWLWTFPWHVYIMS3V42AT4H X-MailFrom: sandra.snan@idiomdrottning.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 6.00 X-Migadu-Spam: Yes X-Migadu-Queue-Id: 8EAEC51E12 X-Spam: Yes X-Spam-Score: 6.00 X-TUID: RvBftrIXzWIB --=-=-= Content-Type: text/plain; format=flowed Curses, flowed again! I'm just gonna attach the file --=-=-= Content-Type: text/x-python Content-Disposition: attachment; filename=staddress.py email_list = "Diaz, Marco , star@mewni.com, Marco Diaz , star@mewni.com" addresses = [] current_address = "" for char in email_list: if char == ',' and '@' in current_address: addresses.append(current_address.strip()) current_address = "" else: current_address += char addresses.append(current_address.strip()) # Adding the last address print(addresses) --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --=-=-=--