@array = grep defined, split /(\[.*?\])|/;