Skip to content

Commit

Permalink
Quell new warning in Perl 5.28
Browse files Browse the repository at this point in the history
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32)
  • Loading branch information
jonjensen committed Sep 18, 2018
1 parent 38dbcd1 commit d5455ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Vend/Config.pm
Expand Up @@ -3870,7 +3870,7 @@ sub parse_wildcard {
$value =~ s/\*/.*/g;
$value =~ s/\?/./g;
$value =~
s[({(?:.+?,)+.+?})]
s[(\{(?:.+?,)+.+?\})]
[ local $_ = $1; tr/{,}/(|)/; $_ ]eg;
$value =~ s/\s+/|/g;
eval {
Expand Down

0 comments on commit d5455ab

Please sign in to comment.