Pattern search only works in Java mode, and as Java is no longer well supported it is a big security risk and a reliability issue. Unfortunately it does not wor right now, apparently.
The functionality should be reprogrammed as a server side process, but I fear that won't happen soon, or ever.
this ultimately needs to be reimplemented compeltely, as barttm mentions.
my plan is to make the frontend in javascript so it runs easily in the browser. i'll probably implement the backend in something like Elastic Search so that searching is real time.