Sequential Pattern Matching