HomeFreeBSD

Add a missing backslash-escape to left brace in a regexp

Description

Add a missing backslash-escape to left brace in a regexp

Perl 5.28 introduced a warning about unescaped left brace in a regexp,
resulting in a warning issued during amavisd startup:

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/ ( { <-- HERE }
(?: / \* )? | \* ) / at (eval 112) line 830.

Currently the warning is harmless although annoying, but will become a fatal error
with the next version of perl.

PR: 234173
Submitted by: Mark.Martinec@ijs.si

Details

Committed
floJan 14 2019, 10:08 PM
Parents
rP490316: Update to 5.6.42-84.2
Branches
Unknown
Tags
Unknown