mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-23 01:35:38 +03:00
Temporary quick fix, remove dash from hashtag regex
This commit is contained in:
parent
9285a0ba9a
commit
aefda31c2a
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue