Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex patterns for common strings. #8

Open
4 tasks
itzTheMeow opened this issue Mar 30, 2023 · 2 comments
Open
4 tasks

Regex patterns for common strings. #8

itzTheMeow opened this issue Mar 30, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@itzTheMeow
Copy link
Member

itzTheMeow commented Mar 30, 2023

We should add RegExp patterns for common strings, these would be used by the package itself as well.

Thoughts on regex for spoilers/katex/ulids too?

  • User Mentions (<@ulid>)
  • Channel Mentions (<#ulid>)
  • Custom Emoji (:ulid:)
  • Default Emoji (maybe use the emoji list object)
@itzTheMeow itzTheMeow moved this to Todo in RevKit Mar 30, 2023
@Rexogamer
Copy link
Member

Rexogamer commented Sep 17, 2023

I think the ULID regex would be quite useful; not 100% on the other two "uncertain" ones, but still

@Rexogamer Rexogamer added the enhancement New feature or request label Sep 17, 2023
@itzTheMeow
Copy link
Member Author

these could maybe be separated into a separate package like @revkit/utils so those wanting to use them don't have to install the entire client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants