Contents

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

Matching numeric formats

Matching URLs

Supporting types

Type Properties

Type Methods

See Also

Regular Expressions