• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7797: TWiki with current Perl: Escape left braces in regular expressions (core)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Waiting for Release TWiki:Main.HaraldJoerg minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


In Perl 5.24, left braces { in regular expressions should be escaped as \{ to distinguish them clearly from the match count {n,m}, 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 components.

See TWiki:Codev.TWikiWithCurrentPerl for details.

-- TWiki:Main/HaraldJoerg - 2017-04-07

Ouch - in Rev. 30374 I inadvertedly committed a fix to the unescaped left braces in all of trunk. So, right now, all occurences which can be detected by (1) compiling or (2) running TWikiSuite.pm should be done.

-- TWiki:Main.HaraldJoerg - 2017-08-17

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.

-- TWiki:Main.HaraldJoerg - 2017-11-03

Summary TWiki with current Perl: Escape left braces in regular expressions (core)
ReportedBy TWiki:Main.HaraldJoerg

SVN Range TWiki-6.0.2-trunk, Sun, 12 Feb 2017, build 30309
AppliesTo Engine

Priority Normal
CurrentState Waiting for Release
WaitingFor TWiki:Main.HaraldJoerg
Checkins TWikirev:30318 TWikirev:30373 TWikirev:30374 TWikirev:30384 TWikirev:30389
TargetRelease minor

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2017-11-03 - HaraldJoerg
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback