From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 04FE27E3B8 for ; Mon, 6 Aug 2018 19:37:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727665AbeHFVsA (ORCPT ); Mon, 6 Aug 2018 17:48:00 -0400 Received: from ms.lwn.net ([45.79.88.28]:52332 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727585AbeHFVr7 (ORCPT ); Mon, 6 Aug 2018 17:47:59 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 037482BB; Mon, 6 Aug 2018 19:37:24 +0000 (UTC) Date: Mon, 6 Aug 2018 13:37:23 -0600 From: Jonathan Corbet To: Ben Hutchings Cc: linux-doc@vger.kernel.org, valdis.kletnieks@vt.edu, 905116@bugs.debian.org Subject: Re: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes Message-ID: <20180806133723.28db1679@lwn.net> In-Reply-To: <20180805164108.GC18030@decadent.org.uk> References: <20180805164108.GC18030@decadent.org.uk> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Sun, 5 Aug 2018 17:41:09 +0100 Ben Hutchings wrote: > Commit 720ac2ef479d ("PATCH scripts/kernel-doc") fixed the two > instances of literal braces that Perl 5.28 warns about, but there are > still more than it doesn't warn about. > > Escape all left braces that are treated as literal characters. Also > escape literal right braces, for consistency and to avoid confusing > bracket-matching in text editors. > > Signed-off-by: Ben Hutchings Applied (with the commit hash corrected), thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html