Commit 0c12b9eb authored by Yadd's avatar Yadd
Browse files

Fix regexp

@clement_oudot ready for 1.4.12
parent 3a21d1d9
......@@ -287,7 +287,7 @@ sub toConf {
my $data = Dumper($fields);
$data =~ s/^\s*(.*?)\s*$/$1/;
$data =~ s/'/'/g;
$data =~ s/^\$data[0-9]*\s*=\s*({?\s*.+\s*}?)/$1/g;
$data =~ s/^\$data[0-9]*\s*=\s*(\{?\s*.+\s*\}?)/$1/g;
return $data;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment