bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23602: Unescaped left brace in regex is deprecated, passed through i


From: carl hansen
Subject: bug#23602: Unescaped left brace in regex is deprecated, passed through in regex
Date: Sun, 22 May 2016 23:39:03 -0700



On Sun, May 22, 2016 at 11:23 PM, carl hansen <address@hidden> wrote:
>> automake --version
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/gsrc/bin/automake line 3936.
automake (GNU automake) 1.15
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later ....


using perl 5.22.1

how to fix ?



 was:

   $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;

following the message, this seems to work; not thoroughly tested:

   $text =~ s/\$\{([^ \t=:+{}]+)\}/substitute_ac_subst_variables_worker ($1)/ge;

leaning toothpicks....


reply via email to

[Prev in Thread] Current Thread [Next in Thread]