escape pattern to prevent plugin from crashing with filenames containing special char

Im using Extras folder only however the -extras- search features keeps crashing when the parent folder contains special char like [] ... for instance : holala [2019]4KBDRip[x265]DTS HD 13.2[Ru-Eng]