qurro
qurro copied to clipboard
Support textual searching via regular expressions
Came up during discussion with @fedarko
Might be useful to allow the user to specify a regular expression for which to search the feature space. This should hopefully allow users to specify (almost?) any textual query they like even if it is not explicitly supported in Qurro.
Examples:
Given features k__Bacteria
and k__Whackteria
and k__Smackteria
-
k__(Bac|Whack)teria
should matchk__Bacteria
andk__Whackteria
but notk__Smackteria
-
k__.*teria
should match all three -
k__[^h]*teria
should matchk__Bacteria
andk__Smackteria
but notk__Whackteria
-
k__[\w]{5}teria
should matchk__Whackteria
andk__Smackteria
but notk__Bacteria
I think this could be done a couple ways - easiest might just be to add a dropdown option for regex filtering.