pattern vs repetition - Search