Parse wildcard patterns and view patterns.