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

2018-08-06 Thread Jonathan Corbet
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

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

2018-08-06 Thread Ben Hutchings
On Mon, 2018-08-06 at 07:14 -0600, Jonathan Corbet wrote: > 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

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

2018-08-06 Thread Jonathan Corbet
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. So where can I find this commit of which you speak? I can't

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

2018-08-05 Thread Ben Hutchings
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