Update comment

This commit is contained in:
Eric Bailey
2026-01-09 10:19:05 -06:00
committed by GitHub
parent 69067c680f
commit 4b9f3c2808
+1 -1
View File
@@ -11,7 +11,7 @@ import {RichTextTag} from '#/components/RichTextTag'
import {Text, type TextProps} from '#/components/Typography'
const WORD_WRAP = {wordWrap: 1}
// lifted from facet detection in `RichText` impl
// lifted from facet detection in `RichText` impl, _without_ `gm` flags
const URL_REGEX =
/(^|\s|\()((https?:\/\/[\S]+)|((?<domain>[a-z][a-z0-9]*(\.[a-z0-9]+)+)[\S]*))/i