detect
Detects URLs in the given text, excluding ranges.
Return
List of detected URLs with their UTF-16 string offsets, filtered by exclusion ranges.
Parameters
text
The text to scan for URLs.
excluded
List of IntRanges to exclude (e.g., mentions, markdown links). Matches overlapping any excluded range are dropped.