RegexComponent
A type that represents a regular expression.
Declaration
protocol RegexComponent<RegexOutput>Overview
You can use types that conform to RegexComponent as parameters to string searching operations and inside RegexBuilder closures.
Topics
Creating a regex component
Getting a regex from a component
Matching substring sequences
Matching whitespace and line endings
Matching dates and times
date(_:locale:timeZone:calendar:)date(format:locale:timeZone:calendar:twoDigitStartDate:)dateTime(date:time:locale:timeZone:calendar:)iso8601iso8601Date(timeZone:dateSeparator:)iso8601(timeZone:includingFractionalSeconds:dateSeparator:dateTimeSeparator:timeSeparator:)iso8601WithTimeZone(includingFractionalSeconds:dateSeparator:dateTimeSeparator:timeSeparator:timeZoneSeparator:)
Matching numeric formats
localizedInteger(locale:)localizedDouble(locale:)localizedDecimal(locale:)localizedCurrency(code:locale:)localizedIntegerCurrency(code:locale:)localizedIntegerPercentage(locale:)localizedDoublePercentage(locale:)