in reply to Re: One Dimensional Array into Two
in thread One Dimensional Array into Two

... and if /(\s)+/ is really meant, it is cleaner written as /\s*(\s)/, in which case it's obvious that only the last matched whitespace will actually be in $1.