#community-help

Request for Regular Expression Support in Search Query

TLDR em1nos inquired about adding regex support to search queries, which Jason confirmed is not feasible due to indexing complexities.

Powered by Struct AI
2
16mo
Solved
Join the chat
Jul 02, 2022 (16 months ago)
em1nos
Photo of md5-f33ae8b829901656b655c985c894be3a
em1nos
08:03 PM
Would it be possible to add some kind of "regex" support to the search query? So that you could search for Samsung [A|S][\d]{1,2} to find "Samsung A13" together with "Samsung S22" (and more)...
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:31 PM
No it's not possible to do that, since it's hard to build indices that support arbitrary regex expressions