doc: Document pattern matching on vectors
Merge pull request #4589 from sanxiyn/doc-vec-match

doc: Document pattern matching on vectors