I’m not an expert in regex and can't figure what I am supposed to change here.
I get these two errors
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE
in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/
at /usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE
in m/\${ <-- HERE ([^}]+)}/
at /usr/share/perl5/Debconf/Config.pm line 30.
When I jump to the line 72 this is what I see
while ($rest =~ m/^(.*?)(\\)?\${([^{}]+)}(.*)$/sg) {
{
inside the Regex, i.e.\{
. – Brassiere