Skip to content
Snippets Groups Projects
Commit a5f325cd authored by Scott Severtson's avatar Scott Severtson
Browse files

Unescape all commas in configuration parameters

parent 1fe9c5fc
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ sub new {
my $kvs = {};
my $check_name = $1;
my @params = split(/(?<!\\),/, $2);
grep { s/\\(.)/$1/ } @params;
grep { s/\\(.)/$1/g } @params;
grep { $kvs->{$1} = $2 if /^\s*(\S+)\s*=>\s*(\S(?:.*\S)?)\s*$/ }
@params;
my $object;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment