NQN-Discord / MessageHandler

The message filter NQN uses to filter out messages it doesn't need to process
5 stars 1 forks source link

Allow hyphens in masked link domain names #7

Closed Benricheson101 closed 3 years ago

Benricheson101 commented 3 years ago

The current regex doesn't match masked links when the domain name contains a hyphen. The way the regex is written ([.-_]), it will match any character between . (56) and _ (95) instead of matching a hyphen, period and underscore. This should fix that.

image image

muddyfish commented 3 years ago

Thanks^^