Computes ranges to exclude from link preview detection (mentions and markdown links).
Computes a list of UTF-16 ranges that should be excluded from link preview detection.