PatternMatch()