rcc11 / 4chan-sounds-player

4chan sounds player
Creative Commons Zero v1.0 Universal
66 stars 4 forks source link

case insensitive regex #2

Closed matillo closed 4 years ago

matillo commented 4 years ago

switching filenameRE to case insensitive catches some occasional non-lowercase tags, don't think it causes problems. const filenameRE = /(.*?)[[({](?:audio|sound)[ =:|$](.*?)[\])}]/gi;