my @matches = $initialStr =~ /\[ .*? \] \s* ( \[ .*? \] .* )/gx;