mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-30 05:09:18 +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
|
// AI-generated, all other regexes are too complicated
|
||||||
const HASHTAG_RE = new RegExp(
|
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',
|
'ig',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue