Discussion:
regex bug on arch
NightStrike
2016-05-06 16:48:28 UTC
Permalink
With the latest automake on archi linux, I get this:

Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
/usr/bin/automake line 3936.
Philipp Thomas
2016-05-09 08:37:56 UTC
Permalink
Post by NightStrike
With the latest automake on archi linux,
Which is ('automake --version' tells you)?
Post by NightStrike
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
/usr/bin/automake line 3936.
NightStrike
2016-05-10 02:20:44 UTC
Permalink
1.15
Post by Philipp Thomas
Post by NightStrike
With the latest automake on archi linux,
Which is ('automake --version' tells you)?
Post by NightStrike
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at
/usr/bin/automake line 3936.
Philipp Thomas
2016-05-10 05:42:15 UTC
Permalink
1.15
This has been fixed in git with commit
13f00eb4493c217269b76614759e452d8302955e :

diff --git a/bin/automake.in b/bin/automake.in
index a3a0aa3..2c8f31e 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
sub substitute_ac_subst_variables
{
my ($text) = @_;
- $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+ $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
return $text;
}

So either wait for the next release or apply the change to your
/usr/bin/automake.

hth
Philipp
NightStrike
2016-05-13 16:47:06 UTC
Permalink
Thanks!
Post by Philipp Thomas
1.15
This has been fixed in git with commit
diff --git a/bin/automake.in b/bin/automake.in
index a3a0aa3..2c8f31e 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
sub substitute_ac_subst_variables
{
- $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+ $text =~ s/\$[{]([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
return $text;
}
So either wait for the next release or apply the change to your
/usr/bin/automake.
hth
Philipp
Loading...