feat: new parser for mention everything (#411)

* feat: implement custom parser for mentions

* feat: handle backticks in codeblocks and escapes

* chore: remove fancy-regex

* fix: dont serialise empty role mentions

* chore: cleanup role mentions logic

* chore: update lockfile

* fix: actually use everyone and online mentions from content

* fix: broken merge

---------

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Paul Makles
2025-04-28 17:08:06 +01:00
committed by GitHub
parent 29b6ac3acf
commit f75d635c81
7 changed files with 334 additions and 97 deletions

View File

@@ -25,7 +25,6 @@ revolt-permissions = { version = "0.8.4", path = "../permissions" }
# Utility
regex = "1.11"
fancy-regex = "0.14"
indexmap = "1.9.3"
once_cell = "1.17.1"
num_enum = "0.6.1"