Match is an array, not a function