Hello,
I'm testing XYplorer (the Free Edition 13.80.0100) and I think there is
something not working correct while filtering with reg expressions:
File names:
BE_08020150727_M.TPLog
BE_08020150727.TPLog
BE_08020150725_M.TPLog
BE_08020150725.TPLog
BE_10620150727_M.TPLog
BE_10620150727.TPLog
Set Visual Filter : BE_080[0-9]*\.TPLog
Filtered files =>
BE_08020150727_M.TPLog
BE_08020150727.TPLog
BE_08020150725_M.TPLog
BE_08020150725.TPLog
This is not correct, I only should get:
BE_08020150727.TPLog
BE_08020150725.TPLog
Can someone can confirm this?
Set Visual Filter - regular expression Bug ?
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".
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Set Visual Filter - regular expression Bug ?
No bug, you don't use the regex filter^^
Use a ">" in front of yours...
XY help -> Index tab - Visual Filters -> Regular Expressions
Use a ">" in front of yours...
Code: Select all
>BE_080[0-9]*\.TPLogRegular Expressions
Visual Filters also support the Regular Expressions syntax. Like elsewhere in XYplorer to activate the regular expressions mode simply prefix the pattern with the character ">". For example:
>\.doc$ -> show only *.doc files
>.*(\.png|\.jpg)$ -> show only *.png and *.jpg files
One of my scripts helped you out? Please donate via Paypal
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Set Visual Filter - regular expression Bug ?
you need to prefix regexp visual filter pattern with a >, so that XY actually knows it's a regexp pattern.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
spoelle
- Posts: 2
- Joined: 29 Jul 2015 09:09
Re: Set Visual Filter - regular expression Bug ?
Waaawh, what quick answers! Thank you guys, I did not know about that prefix :-/
Thanks !
Thanks !
XYplorer Beta Club