pattern(_:)

Enforces that the string follows the pattern.

Declaration

static func pattern<Output>(_ regex: Regex<Output>) -> GenerationGuide<String>