Contents

RegexComponentBuilder

A custom parameter attribute that constructs regular expressions from closures.

Declaration

@resultBuilder enum RegexComponentBuilder

Overview

You typically see RegexComponentBuilder as a parameter attribute for Regex- or RegexComponent-producing closure parameters, allowing those closures to combine multiple regular expression components. Type initializers and string algorithm methods in the RegexBuilder framework include a builder closure parameter, so that you can use regular expression components together.

Topics

Type Methods

See Also

Builders