From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WKwsBky6b2MZuQAAbAwnHQ (envelope-from ) for ; Sat, 12 Nov 2022 16:22:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cBhKBUy6b2O+/gAAG6o9tA (envelope-from ) for ; Sat, 12 Nov 2022 16:22:52 +0100 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 BAC4322F51 for ; Sat, 12 Nov 2022 16:22:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otsKv-00053y-O8; Sat, 12 Nov 2022 10:22:26 -0500 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 1otsKs-00051A-Vf for emacs-orgmode@gnu.org; Sat, 12 Nov 2022 10:22:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otsKs-00057o-JI; Sat, 12 Nov 2022 10:22:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QYGCjv8pmgtfuMipNOZ+fRd3nAGBNQqe1UXGWuMMFbA=; b=YKmGsPX2xvc0qjBa+KzR QMirvHcdvgFxxQzRQw97pCzrI3gJpMPkHX5rNVIWw4blgEiHYAlumTzuH8qV2fqxyJcKycHRsqHv9 9Sp9SD97bzp4HdiOjsCu/0/I0Q8vBspD3mrQFoVNUtMQbcryhlaE4TP1c/mCO0tp1dlcXyBd4HQUC 0dPQzcsmut/qhrMQSt9rBx6QFxxY5RUkbMvguUxXaa4oHh/EFSougdGxQ75qfowYwM/7g5PexohPT ghlj5NoXM+KFSxm9zM+bNAlAOZ6Fr5GupfGK6lvXInZTWGhEQlapoWF6Y6CnlmlKOdqnRL2Thb7GC qfx93pTH5orpKQ==; Received: from 76.60.140.77.rev.sfr.net ([77.140.60.76] helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otsKs-0007AI-17; Sat, 12 Nov 2022 10:22:22 -0500 Received: by hal (Postfix, from userid 1000) id 19CDD1E0409; Sat, 12 Nov 2022 16:22:17 +0100 (CET) From: Bastien Guerry To: Ihor Radchenko Cc: Tommy Kelly , emacs-orgmode@gnu.org Subject: Re: [BUG] Null character in block/drawer regexps (but not in org-element parser) In-Reply-To: <875yfk9vlv.fsf@localhost> (Ihor Radchenko's message of "Sat, 12 Nov 2022 12:59:40 +0000") Organization: GNU References: <875yfk9vlv.fsf@localhost> Date: Sat, 12 Nov 2022 16:22:17 +0100 Message-ID: <87pmds19li.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668266571; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QYGCjv8pmgtfuMipNOZ+fRd3nAGBNQqe1UXGWuMMFbA=; b=Fb6awLLTb7j9c9wLxEk0u4VKmedxFqwY+2bJRXlwy+Nxx1K9TO3UkLknNrbWaG612roKKW 6sMd9o3NNrJKcoRqCpmqd+jVLV78etzkiHkjHzyAaHJu5GoC3eXcvAPADFPpE5zGB1kdUC zYGqF1B6IRqyUx4aN3ssm2jvX5V9IAcR2RB435IRx/aKRujNXFjAL1l0pZPMYhM/XrMsK3 2IGPb3/fBjI6g68m4qxnR552Y52wxGfSmMqjki1ku6qTDSANj1A0rqdOuO9g/9a1cHtyyL unCBT2n9sl0i/f82ryn7tts9l/Wgn4S+3XRf8wWXjk+ZQGe6np882eXNS7IhjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668266571; a=rsa-sha256; cv=none; b=bWqBck6yY/U2NorA2WEL4JKpX47PexmK9QNDe0rXvsAzuhbTshIFeNRq/iczS4wTFct1To p1386I6aHDZfF2ND/DHZTVPODae0vVvrK7+OXef7A8Fdhml+sjpK2tTiC8/U/lLzyMOMso TnA6BfCEiNBPrivHEhSBdG4tjN2pg9ue1+CQp/JCQDontH9ga3OkJOijyekEMaydoKy4X3 TD/Jo7gkDIUUDKAiVL6EDuNRqdHjODbaSCKqSOzKqeNnsyYNof1QfB3q2ELUiRixjMe//3 xd/2WxCo+w7hiFslcUOgF7jhooX7Noxp3SsedClM8dvv6GriRoM8m9uAL6fejQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=YKmGsPX2; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -6.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=YKmGsPX2; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: BAC4322F51 X-Spam-Score: -6.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: bxPdY/ovCE/u Hi Ihor, Ihor Radchenko writes: > So, we should probably remove zero-width shenanigans from the code. +1. > Unless I miss something. > > Bastien, maybe you recall something about presence of null character in > regexs? No, I don't. > P.S. If we decide to remove the null character, I'd prefer to do it > after the release: this change may affect a lot of code and the bug is > not that major to risk breakage. Yes, that's more prudent. -- Bastien