Visual Filter, Live, with NOT question, vs. help file

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
rd7770
Posts: 51
Joined: 03 Oct 2011 04:36

Visual Filter, Live, with NOT question, vs. help file

Post by rd7770 »

This may not be a bug or documentation discrepancy, just my funny settings, or my misunderstanding.
I'm using XYplorer: 28.10.0300 (64-bit), on a Windows 10 Home system, with 125% screen scaling.

The "Visual Filters" help, in the "Syntax" area, for the "NOT" option, that I'm using in a Live Filter, has an example where I get different result.

The first is:

Code: Select all

a*;b*    -> show all items starting with "a" or "b".
which works as expected, showing 81 items out of 401.

Jumping ahead to:

Code: Select all

To logically reverse an entire pattern, wrap it in parentheses and prefix !.
 !(a*;b*)                  -> hide all items starting with "a" or "b".
which results in all 401 items showing, as if there were no filter at all, and is the focus of my question.

Going back up to:

Code: Select all

!a*;b*   -> hide all items not starting with "a" or starting with "b".
which gets 320 items out of the 401, which means the 81 items in the first example were excluded, but contradicts the help item above.
This is the 'logical reverse' of the first item, not the item above which is somehow wrong in the help.

Unless my having the "Enable extended pattern matching" option ticked somehow messes up the actions.
(An old help topic of 2006 kind of discussed this, but maybe it hasn't come up since then?)
Edit: I also have "Use Space Character for Boolean AND" not ticked.

admin
Site Admin
Posts: 65382
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Visual Filter, Live, with NOT question, vs. help file

Post by admin »

Hm, this works as advertised if the "Enable extended pattern matching" option is ticked:

Code: Select all

!(a*;b*)                  -> hide all items starting with "a" or "b".

admin
Site Admin
Posts: 65382
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Visual Filter, Live, with NOT question, vs. help file

Post by admin »

Ah, you probably have an old tweak active: VFAllowMasterInvertOldWay=1. Just set it to 0:
VFAllowMasterInvertOldWay=0

rd7770
Posts: 51
Joined: 03 Oct 2011 04:36

Re: Visual Filter, Live, with NOT question, vs. help file

Post by rd7770 »

admin wrote: 14 Jan 2026 11:35 Ah, you probably have an old tweak active: VFAllowMasterInvertOldWay=1. Just set it to 0:
VFAllowMasterInvertOldWay=0
That fixed my discrepancy with the help file.
But I don't recall ever editing that tweak.

admin
Site Admin
Posts: 65382
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Visual Filter, Live, with NOT question, vs. help file

Post by admin »

It was auto-tweaked when upgrading to v22.20.0222 to preserve the previous behavior.

Post Reply