From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oB84Ersa52RFPAAASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 10:54:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yE42Ersa52SxAQEA9RJhRA (envelope-from ) for ; Thu, 24 Aug 2023 10:54:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0C9E93AE3D for ; Thu, 24 Aug 2023 10:54:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=RtC3hNjS; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=vodafonemail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692867259; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HpBPKC+ZJugRLRPNPyZw6RMd2TTBbqObTSAd9WJFrPM=; b=rZMvkLpmtC5dPvuGMsN2EmP9dnruafyzk53k+YxT8JgHeMsRdWG6VRdl5U2irmCJNPu2+U rYY1keclhqCexHUmLwvxrHedyaP1cZ2R5a0PYM0u2NGXXehauhM67W8Cu6o4tR2Fh2yawa 741bbW1mLrTjIidibwx+UksLw24lxqLjJ9PE/9FED/v9U9MTc9oBaPiBgL3I+PKFmwcAlW LBS4+ahkOD4S1lsUO1q2CHxEze3sVY772X4E53YkUseWnuz8ElWBkcp7f6rrGQYWpDuhlc ByWMaNnkuvPGVwEN3zykLRq7NTJ6pX9bmTXnz+nwIkSed00lHEHiy9JwWUmaLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=RtC3hNjS; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=vodafonemail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692867259; a=rsa-sha256; cv=none; b=FiXx0VU3hoxp7DbIpiGet5rX7aPFYwu72D3gRFXiljg4cnBfVVpbf7WOfUxuVHNg3wvdDX tIexFBBkIq20oVr3NsgmAJbt1PSdUttGnDtXcSeg3s+m3hhQySMn8UVy/sn1/JDhjXMFVg AaEVfQBntCkunK5/eSReuogi0q6vLQJeB6/5rXVVD1Nin4AwYH98GZGXFLk3mUFYbNJk+v GBlzHi4jUDmkVnZ5b41OJI8u8JNdOSe56l3B//7gQqb6LzTIpi40e7ZIXAHpTv6L1mtWYw HVNyvuqKk1N478MxwqK5uouQkxYECIa+sLFkW6UqO2MaPWO1ReyxuywowgECww== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ65X-0004Px-Vp; Thu, 24 Aug 2023 04:53:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ65V-0004PZ-UA for emacs-orgmode@gnu.org; Thu, 24 Aug 2023 04:53:09 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ65T-0002J4-1K for emacs-orgmode@gnu.org; Thu, 24 Aug 2023 04:53:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1692867184; bh=HpBPKC+ZJugRLRPNPyZw6RMd2TTBbqObTSAd9WJFrPM=; h=Message-ID:Date:User-Agent:Subject:Content-Language:To:References: From:In-Reply-To:Content-Type:From; b=RtC3hNjSEV1F2lW3GLM0uYtZ+sHI4f4AHcKu0IKZJjH2NUQsJmiQdLheZY8TwUvNx Akj/h7tg9UZGNHcDgl1cxbUQ3fIRQ3fVoDvbRFk8+QAPrgAr+sPkrakAclxJ100xi4 8G5P7yCCpXl3tWZHYJzyPVsxfb6Z8QspiU++7WKU= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4RWcL84L5rz1y7h; Thu, 24 Aug 2023 08:53:04 +0000 (UTC) Received: from [192.168.0.138] (unknown [86.33.87.7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RWcKx0kz9zHnfp; Thu, 24 Aug 2023 08:52:49 +0000 (UTC) Message-ID: <98f4101b-7281-2793-ca30-7086c4f10c5d@vodafonemail.de> Date: Thu, 24 Aug 2023 10:52:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property] Content-Language: de-DE-frami, en-US To: Ihor Radchenko Cc: Samuel Loury , emacs-orgmode@gnu.org References: <87h6oq2nu1.fsf@gmail.com> <877cpm6oe3.fsf@localhost> <811c9bda-cea4-c0d6-30b4-53ebdb432ab6@vodafonemail.de> <748acab1-eaf4-fdd3-13a6-26e6229de613@vodafonemail.de> <87o7iw7v4q.fsf@localhost> From: Jens Schmidt In-Reply-To: <87o7iw7v4q.fsf@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate: clean X-purgate-size: 692 X-purgate-ID: 155817::1692867180-9D7FF94E-25802DE6/0/0 Received-SPF: pass client-ip=145.253.228.165; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr5.vodafonemail.de X-Spam_score_int: -54 X-Spam_score: -5.5 X-Spam_bar: ----- X-Spam_report: (-5.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-2.684, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.89 X-Spam-Score: -6.89 X-Migadu-Queue-Id: 0C9E93AE3D X-TUID: zNndJEWBYuA7 On 2023-08-24 09:32, Ihor Radchenko wrote: > Jens Schmidt writes: >> Some obvious choice would be a simpler single backslash >> >> (B) "\-" => "-" > > I prefer (B). And we will need to allow escaping of the "\" itself. Like > \\. OK. Since backslash is not used yet in the rest of the regexp, (B) should be rather edge-case-free. So the corresponding subre to match property names would look like \(?5:\(?:[[:alnum:]]+\|\\[^[:space:]]\)+\) IOW, backslash quotes everything except whitespace, which by definition cannot be part of a property name. Will start on this, but with tests and documentation this might take some time.