Item14110: Deprecated Pattern in regex

pencil
Priority: Normal
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: ChecklistTablePlugin
Branches:
Reported By: PaulMerchantJr
Waiting For:
Last Change By: GeorgeClark
Two regular expressions contain an unescaped '{' which provokes a warning in perl 5.22:

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%EDITCELL{ <-- HERE (.*?)}%/ at .../Plugins/ChecklistTablePlugin/Core.pm line 167.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/%EDITCELL{ <-- HERE (.*?)}%/ at .../Plugins/ChecklistTablePlugin/Core.pm line 238.

The attached patch addresses this problem.

-- PaulMerchantJr - 08 Jul 2016

Thanks for the patch.

-- GeorgeClark - 25 Sep 2016
 

ItemTemplate edit

Summary Deprecated Pattern in regex
ReportedBy PaulMerchantJr
Codebase
SVN Range
AppliesTo Extension
Component ChecklistTablePlugin
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
I Attachment Action Size Date Who Comment
patch.txttxt patch.txt manage 912 bytes 08 Jul 2016 - 17:15 PaulMerchantJr Patch to escape '{' in two regex.
Topic revision: r2 - 25 Sep 2016, GeorgeClark
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