From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: [PATCH] Fix verbatim block fontification to end blocks on headlines Date: Thu, 12 Dec 2019 06:20:27 -0600 Message-ID: <87lfrhspkk.fsf@alphapapa.net> References: <87y2viq6lw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifNWk-0006jx-0C for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 07:25:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifNWi-0002Ap-30 for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 07:25:05 -0500 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:47944 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ifNWh-00028C-RX for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 07:25:04 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1ifNWg-000c1c-0O for emacs-orgmode@gnu.org; Thu, 12 Dec 2019 13:25:02 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org May I recommend using the rx macro for regexps? They are much easier for humans to parse, which helps reduce errors like the ones mentioned here. And they are about to gain some very useful new features in Emacs 27.