Skip to content

Commit

Permalink
CLI: With sympa config key=value, key couldn't contain dot
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed May 4, 2024
1 parent ea8592c commit beaab05
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 @@ -186,7 +186,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 beaab05

Please sign in to comment.