matches(of:)
Returns a collection containing all matches of the specified regex.
Declaration
func matches<Output>(of r: some RegexComponent) -> [Regex<Output>.Match]Return Value
A collection of matches of regex.
Returns a collection containing all matches of the specified regex.
func matches<Output>(of r: some RegexComponent) -> [Regex<Output>.Match]A collection of matches of regex.