[Fixed] VFilter - NOT operator: ! does not work as expected
Forum rules
You might want to read this if you're looking for priority service
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%).
Use Your Profile Or Signature
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
Nolan
- Posts: 66
- Joined: 27 Nov 2013 05:23
[Fixed] VFilter - NOT operator: ! does not work as expected
A tab: D:\TEST and its normal list in fresh XY v16.60.0302: After applying VF pattern: d;!5 to the tab: Besides def123, abc123 should also show up in the filtered list, right?
BTW, please help confirm if the 2 VF patterns shown below work right.
1) After applying pattern: "*bc12*": 2) After applying pattern: *"bc12"*:
To see the attached files, you need to log into the forum.
Last edited by Nolan on 26 Apr 2016 06:56, edited 1 time in total.
-
admin
- Site Admin
- Posts: 67299
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: VFilter - NOT operator: ! does not work as expected
1) WOW, good bug!
Quite strange that this bug could remain undiscovered for 2.5 years (and apparently never worked even on the day I added it to the change log)!
Fix comes.
2+3) Those patterns cannot match anything because of the quotes. Simply remove the quotes...
Fix comes.
2+3) Those patterns cannot match anything because of the quotes. Simply remove the quotes...
FAQ | XY News RSS | XY X
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: VFilter - NOT operator: ! does not work as expected
2+3: Loose matches vs. strict matches (enforced by double quotes). The help file contains the details 
One of my scripts helped you out? Please donate via Paypal
-
Nolan
- Posts: 66
- Joined: 27 Nov 2013 05:23
Thanks for the explanation.
But XY's help file gives an example:
Code: Select all
Desktop|"*; *"| = List all items on Desktop containing "; "Normal list: After applying pattern: "*; *"|: After applying pattern: *; *|:
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67299
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re:
Indeed, it is incorrect. It should have been like this:Nolan wrote:
Thanks for the explanation.
But XY's help file gives an example:In the example, the pattern contains both " " and *. Is the example's filter syntax incorrect?Code: Select all
Desktop|"*; *"| = List all items on Desktop containing "; "
Code: Select all
Desktop|*; *| = List all items containing "; "FAQ | XY News RSS | XY X
XYplorer Beta Club