diff --git a/src/components/compose.jsx b/src/components/compose.jsx index a589fc36..b926f79a 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -124,7 +124,7 @@ const MENTION_RE = new RegExp( // AI-generated, all other regexes are too complicated const HASHTAG_RE = new RegExp( - `(^|[^=\\/\\w])(#[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?)(?![\\/\\w])`, + `(^|[^=\\/\\w])(#[a-z0-9_]+([a-z0-9_.]+[a-z0-9_]+)?)(?![\\/\\w])`, 'ig', );