Item14921: Use of deprecated regexp syntax, will be fatal in Perl 5.30
Priority: Enhancement
Current State: New
Released In: n/a
Target Release:
My Foswiki's Apache error log is full of warnings like that:
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/\\%{ <-- HERE ll:?}/ at /var/www/foswiki/lib/Foswiki/Plugins/HolidaylistPlugin/Core.pm line 1467.
Identical messages occur for lines 1467, 1474, 1483, 1492, 1501, 1511, 1513, 1517, 1522, 1527, 1532, 1549, 1553, 1555, 1561, 1565, 1571, 1575, 1581, 1585, 1589, 1591, 1596, 1600, 1605, and 1607.
So, one would have to replace {...} with \{...\} in each of these lines.
I run Foswiki 2.1.6 with Apache 2.4.38 and Perl 5.28 on Debian 10.
--
ChristianKern - 04 Jun 2020