From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753462AbcG2X5f (ORCPT ); Fri, 29 Jul 2016 19:57:35 -0400 Received: from mail-yw0-f182.google.com ([209.85.161.182]:33391 "EHLO mail-yw0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbcG2X52 (ORCPT ); Fri, 29 Jul 2016 19:57:28 -0400 MIME-Version: 1.0 In-Reply-To: <1469833614.3998.94.camel@perches.com> References: <1469833614.3998.94.camel@perches.com> From: Allen Hubbe Date: Fri, 29 Jul 2016 19:57:27 -0400 Message-ID: Subject: Re: [PATCH] checkpatch: fix perl warning about unescaped brace To: Joe Perches Cc: linux-kernel@vger.kernel.org, Andy Whitcroft , Andrew Morton Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This system has v5.22.1. I don't know exactly how this perl was configured. I didn't see the warning on other systems. Strangely, I don't remember seeing it yesterday on this system, either. I might try to reproduce the warning on another system and let you know. The warning and this fix seem to be in line with the perl documentation, though. perl --version This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-thread-multi (with 15 registered patches, see perl -V for more detail) cat /etc/fedora-release Fedora release 23 (Twenty Three) On Fri, Jul 29, 2016 at 7:06 PM, Joe Perches wrote: > On Fri, 2016-07-29 at 18:27 -0400, Allen Hubbe wrote: >> Perl warns: >> >> Unescaped left brace in regex is deprecated, passed through in regex >> >> This is explained under "Quantifiers" in perl doc: >> http://perldoc.perl.org/perlre.html#Quantifiers > > Hey Allen. > > I'm at 5.22 and don't see a warning. > For what version of perl does this warning get generated? > Only 5.24 and higher? >