Fixed regular expression for array dot notation