In Perl 5.24, left braces
in regular expressions should be escaped as
to distinguish them clearly from the match count
, otherwise a warning will be printed during compilation. In TWikis without persistent Perl interpreter this floods the error logs. A fix should be available before Linux distributions start shipping Perl 5.24.
This is the item for the core
Ouch - in Rev. 30374 I inadvertedly committed a fix to the unescaped left braces in all
. So, right now, all occurences which can be detected by (1) compiling or (2) running
should be done.
As of now, both the compilation check and the unit test suite are clear of warnings, up to Perl 5.26 and including the next Perl development version (5.27.5 right now).
Therefore, I consider this done.
Attempting to move my wiki ( installed Nov 29 2015 using TWiki-6.0.2.tgz ) to a new box with perl5 (revision 5 version 26 subversion 2) - I get Unescaped left brace in regex is illegal here. How best to fix it?
For those who come after me ............Found the patch
Above patch did not patch plugins etc so I installed another lower version of perl. I saw no other fast way to get up and running.