selfilter "[" or "]"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
zakhar
Posts: 172
Joined: 08 Sep 2010 21:13

selfilter "[" or "]"

Post by zakhar »

Hello, dear XYplorer Community!

May be, the selfilter does not scroll down to the folder and does not select it,
if the folder has "[" or "]" or both in the folder name?
Here under XYplorer v. 27.10.0500

Code: Select all

selfilter $folder,4:=1;
it does not.
Please check it.
Thank you.

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: selfilter "[" or "]"

Post by highend »

These are range indicators, they must be escaped...

Code: Select all

selfilter regexreplace($folder, "(\[|\])", "[$1]"), 4:=1;
One of my scripts helped you out? Please donate via Paypal

Post Reply