anyOf(_:)
Returns a character class that matches any Unicode scalar in the given sequence.
Declaration
static func anyOf<S>(_ s: S) -> CharacterClass where S : Sequence, S.Element == Unicode.ScalarDiscussion
Calling this method with a group of Unicode scalars is equivalent to listing them in a custom character class in regex syntax.