tessel/runtime#533 r=@jiahuang: Generate unique match array for regex functions.