range
The range of characters in the original text corresponding to the match.
Declaration
let range: Range<String.Index>?Discussion
Use this range to add visual highlighting or interactive UI controls to the displayed text.
To extract semantic information from a match, examine its details properties.