(text type with pattern matching)