Asterisk pattern matching template.