Skip to content

Commit

Permalink
Merge pull request #1831 from ikedas/dot_in_keyvalue by ikedas
Browse files Browse the repository at this point in the history
CLI: With `sympa config key=value`, key couldn't contain dot
  • Loading branch information
ikedas authored Sep 7, 2024
2 parents 7c97152 + beaab05 commit c4c9f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Sympa/CLI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ sub run {
$val = $arg;
}
} elsif ($def eq 'keyvalue') {
if ($arg =~ /\A(\w+)=(.*)\z/) {
if ($arg =~ /\A(\w+(?:[.]\w+)*)=(.*)\z/) {
$val = [$1 => $2];
}
} else {
Expand Down

0 comments on commit c4c9f0f

Please sign in to comment.