Commit 98de3cd3 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: we should allow any characters apart from { and } in the key

parent c1950aa6
......@@ -52,7 +52,7 @@ sub fetch_structures_for_job_ids {
my $sptr = \$structures{$receiving_job_id * $id_scale + $id_offset}{$struct_name};
while( $key_signature=~/(?:(?:\[(\w*)\])|(?:\{(\w*)\}))/g) {
while( $key_signature=~/(?:(?:\[(\d*)\])|(?:\{(.*?)\}))/g) {
my ($array_index, $hash_key) = ($1, $2);
if(defined($array_index)) {
unless(length($array_index)) {
......
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