Contents

unicodeScalar

Match at the Unicode scalar level.

Declaration

static var unicodeScalar: RegexSemanticLevel { get }

Discussion

At this semantic level, the string’s UnicodeScalarView is used for matching, and each matched element is a UnicodeScalar value.