NSRegularExpression
An individual match is represented by an instance of the NSTextCheckingResult
class, which carries information about the overall matched range (via its range
property), and the range of each individual capture group (via the range(at:)
method).
References