• 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 Being Worked On TWiki:Main.HaraldJoerg minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

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

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

Priority Normal
CurrentState Being Worked On
WaitingFor TWiki:Main.HaraldJoerg
Checkins TWikirev:30318 TWikirev:30373 TWikirev:30374 TWikirev:30384
TargetRelease minor
ReleasedIn

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