Extended pattern matches.