We currently get a list of regexps from prescient-filter-regexps, which creates a list of or-ed regexps created by the chosen filter methods for each query. Currently, depending on the order in which the regexps are made, a filter method which matches part of the candidate is seen before a filter method which matches all of the candidate.
For example, this returns "re", not "restart-emacs".
We currently get a list of regexps from
prescient-filter-regexps
, which creates a list ofor
-ed regexps created by the chosen filter methods for each query. Currently, depending on the order in which the regexps are made, a filter method which matches part of the candidate is seen before a filter method which matches all of the candidate.For example, this returns "re", not "restart-emacs".
We can make sure the matching (for this function in particular) is done greedily, or we can handle the full list of non-
or
-ed regexps.