t2t2 / obs-tablet-remote

Tablet optimised OBS Remote
http://t2t2.github.io/obs-tablet-remote/
MIT License
424 stars 129 forks source link

Fixed Bad RegEx #110

Closed sspain closed 3 years ago

sspain commented 3 years ago

I don't know if this was my error, or if something got corrupted along the way, but the filter expression in the repo is not what I have in my source. This commit (should) fix it. I've included the bad and good expressions in the comments for reference.

Bad RegEx: ~/.*(?:\[hidden]|\^\^}~~)$/i Good RegEx: !/.*(?:\[hidden]|\^\^|~~)$/i

This prevented the filter from working, but the corrected RegEx should take care of the problem.