Subject: | Unescaped left brace in regex is deprecated |
When running under perl 5.22.0, then the speedup scripts emit a series of "Unescaped left brace in regex is deprecated" warnings:
$ make
"/usr/perl5.22.0p/bin/perl" speedup Twig_pm.slow > Twig.pm
perl version is 5.022000
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{ <-- HERE '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <> line 1.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{'?twig_root'?}|\$t(?:wig)?->{ <-- HERE '?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <> line 1.
...