amitbl / blocktube

YouTube™ content blocker
GNU General Public License v3.0
860 stars 60 forks source link

Regex does not match all videos that include string #324

Open cobaltdr opened 11 months ago

cobaltdr commented 11 months ago

Regex: /|.?Food Wars\b/gmi matches some instances, but not all. For example, it will block: US vs UK Christmas Specials 2022 | Food Wars | Insider Food India vs UK Nando’s | Food Wars | Food Insider

However it allows these: US vs India Dunkin’ | Food Wars | Food Insider US vs India Pizza Hut | Food Wars | Food Insider US vs UK vs Japan vs India KFC | Food Wars | Food Insider

From this playlist: https://www.youtube.com/watch?v=dGASXxaFp60&list=PLW1Mwtj8qAjkqKuZvQ_4e2Tb2DUlnP6z-&index=1

Screenshot 2023-08-16 at 22 21 25

Version is 0.3.38 on Firefox Developer Edition 117.0b8 (64-bit) on Macos.