Commonly when people want to match particular patterns, whether they be patterns at the level of words or patterns at the level of parts of speech, they can just be very convenient and practical methods to solve many practical tasks. 