added new method: .pattern(options)