accounting for array indices in brack notation regular expression
Merge pull request #1470 from cbayram/master

accounting for array indices in brack notation regular expression