filter syntax question for space followed by |

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
sk2107
Posts: 331
Joined: Sun Aug 07, 2022 8:48 pm

filter syntax question for space followed by |

Post by sk2107 »

Hello,

This quetion is just trying to understand why this is happening.

I have created this filter:
Name: Index Volume Label
Search: indexvolumelabel:search:
Macro: vlm<search>
Now when I enter these Two the result is the same and OK.
indexvolumelabel:lenovo_c2 |indexvolumelabel:lenovo_d2
indexvolumelabel:lenovo_c2|indexvolumelabel:lenovo_d2
but when use this syntax; if I put space in between the result is OK as above
vlm:lenovo_c2 |vlm:lenovo_d2
But if I remove the space I get a blank list
vlm:lenovo_c2|vlm:lenovo_d2
Thank you
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: filter syntax question for space followed by |

Post by therube »

(without looking...)

What happens if you change
Search: indexvolumelabel:search:
to
Search: indexvolumelabel: search:
(adding a <sp> between ...label: & search:)
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: filter syntax question for space followed by |

Post by void »

The next alpha update will avoid eating the | with vlm:

For now, please try:

vlm:lenovo_c2;lenovo_d2
-or-
vlm:<lenovo_c2|lenovo_d2>
-or-
vlm:lenovo_c2 | vlm:lenovo_d2
sk2107
Posts: 331
Joined: Sun Aug 07, 2022 8:48 pm

Re: filter syntax question for space followed by |

Post by sk2107 »

OK.

Thanks a lot and best regards
Post Reply