Fixed: matchPatterns returning 1 string (#115)

It should return multiple strings rather than string array with 1 string