Regex in search boxes

Any search box in a product based on Python should allow the user to use Python regex.

It’s already built into the language Plex is built on, and would be trivial to implement.

There’s a minimal chance of creating analysis paralysis with users because users who don’t know what regex is wouldn’t know it was there to begin with.

If the UI wanted to keep regex and bog standard searches separate, UI could have a hamburger menu at the end of the search box that contained a “use advanced search” tickbox.

This would eliminate the thousands of posts where people are complaining about having a hard time formulating complex search queries, and would allow users to create and share Regex formulas.

What kind of queries do you have in mind?
The only questions w/ regards to search I’ve noticed were about being able to have combined search – kind of what you got with custom filters but across libraries (e.g. searching content produced by Steven Spielberg in the 1990s that don’t have Jaws in their title).

Out of curiosity… do you really have a use case, where you want to search for movies with a certain title pattern? While I’m a little skeptical if an average user would even get what regular expressions are and hence think the target audience for such a feature will be quite small… I’m seriously curious :wink:

PMS is not based on Python, only plugins!

ROTFL…

Are you saying, that the GUI Plex provides for searching, is more complicated than creating a Regex statement?

And joke aside…And what I wanted to add to the thread:

I strongly suggest that you vote for it your self :wink: