this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow more chars in hashtag regex

Still best-effort for now

+2 -2
+2 -2
src/components/compose.jsx
··· 142 142 143 143 // AI-generated, all other regexes are too complicated 144 144 const HASHTAG_RE = new RegExp( 145 - `(^|[^=\\/\\w])(#[a-z0-9_]+([a-z0-9_.]+[a-z0-9_]+)?)(?![\\/\\w])`, 146 - 'ig', 145 + `(^|[^=\\/\\w])(#[\\p{L}\\p{N}_]+([\\p{L}\\p{N}_.]+[\\p{L}\\p{N}_]+)?)(?![\\/\\w])`, 146 + 'iug', 147 147 ); 148 148 149 149 // https://github.com/mastodon/mastodon/blob/23e32a4b3031d1da8b911e0145d61b4dd47c4f96/app/models/custom_emoji.rb#L31