fixed bug in v.match which was causing it to always return true