Item15034: Deprecated Pattern in regex

pencil
Priority: Enhancement
Current State: New
Released In: n/a
Target Release:
Applies To: Extension
Component: ChecklistTablePlugin
Branches:
Reported By: EricBivona
Waiting For:
Last Change By: EricBivona
With Perl 5.30 we're seeing additional deprecation warnings from regexs in the ChecklistTablePlugin:

Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/\%CHECKLISTTABLE({ <-- HERE .*?})?%/ at /data/website-packages/wiki.library/foswiki/lib/Foswiki/Plugins/ChecklistTablePlugin.pm line 63. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/%CHECKLISTTABLE({ <-- HERE (.*)})?%/ at /data/website-packages/wiki.library/foswiki/lib/Foswiki/Plugins/ChecklistTablePlugin/Core.pm line 73. Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/\%CHECKLISTTABLE({ <-- HERE (.*)})?\%/ at /data/website-packages/wiki.library/foswiki/lib/Foswiki/Plugins/ChecklistTablePlugin/Core.pm line 654.

The attached patch file addresses these issues.

-- EricBivona - 22 Jul 2021

 

ItemTemplate edit

Summary Deprecated Pattern in regex
ReportedBy EricBivona
Codebase
SVN Range
AppliesTo Extension
Component ChecklistTablePlugin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
patch.txttxt patch.txt manage 1 K 22 Jul 2021 - 14:14 EricBivona Patch to escape '{' in various regexs.
Topic revision: r1 - 22 Jul 2021, EricBivona
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy