#56075 closed defect (fixed)
muttprint @0.72d_5: perl 5.26 incompatibility
Reported by: | lukeodom | Owned by: | ken-cunningham-webuse |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | ||
Port: | muttprint |
Description
As of perl5.26 {} needs to be escaped in regex. This is causing muttprint to fail out with following error:
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/
newlabel{ <-- HERE LastPage}{{}{(\d+)}}/ at /opt/local/bin/muttprint line 1642.
If you add escapes to all brackets, it appears to work fine. Patch attached.
Attachments (1)
Change History (4)
Changed 7 years ago by lukeodom
Attachment: | muttprintfix.patch added |
---|
comment:1 Changed 7 years ago by kencu (Ken)
comment:2 Changed 7 years ago by ken-cunningham-webuse
Owner: | set to ken-cunningham-webuse |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 Changed 7 years ago by jmroot (Joshua Root)
Milestone: | MacPorts 2.4.3 |
---|
Note: See
TracTickets for help on using
tickets.
PR being tested by the CI system <https://github.com/macports/macports-ports/pull/1430>