ClientSideFilter does not correctly handle Unicode characters

Hi, I made a new regular expression, and now it works with unicode. I tested it at the local machine and everything worked fine.
Search example:
1) Search "first example", regexp: "/first|example/i"
1) Search "первый пример", regexp: "/первый|пример/i"