Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #61753

Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes
Date 2018-08-06 21:40 +0200
Message-ID <wjTwd-7v9-1@gated-at.bofh.it> (permalink)
References <wjuo9-8qA-5@gated-at.bofh.it> <whAxH-3DS-3@gated-at.bofh.it> <wjuo9-8qA-5@gated-at.bofh.it>
Organization LWN.net

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, 5 Aug 2018 17:41:09 +0100
Ben Hutchings <ben@decadent.org.uk> 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 <ben@decadent.org.uk>

Applied (with the commit hash corrected), thanks.

jon

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#905116: scripts/kernel-doc: Unescaped left brace in regex is deprecated Niko Tyni <ntyni@debian.org> - 2018-07-31 13:00 +0200
  Bug#905116: [PATCH] scripts/kernel-doc: Escape all literal braces in regexes Ben Hutchings <ben@decadent.org.uk> - 2018-08-05 18:30 +0200
  Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes Ben Hutchings <ben@decadent.org.uk> - 2018-08-05 18:50 +0200
    Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes Jonathan Corbet <corbet@lwn.net> - 2018-08-06 15:30 +0200
      Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes Ben Hutchings <ben@decadent.org.uk> - 2018-08-06 17:50 +0200
    Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes Jonathan Corbet <corbet@lwn.net> - 2018-08-06 21:40 +0200
  Bug#905116: marked as done (scripts/kernel-doc: Unescaped left  brace in regex is deprecated) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-08-28 10:20 +0200
  Bug#905116: marked as done (scripts/kernel-doc: Unescaped left  brace in regex is deprecated) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-08-28 10:20 +0200
  Bug#905116: marked as done (scripts/kernel-doc: Unescaped left  brace in regex is deprecated) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-08-28 17:10 +0200

csiph-web