dont't treat array references as arrays in regexes

They will be stringified instead, and must be dereferenced to be arrayish.