- DATAb1.txt
DATAbb2.txt
DATAb3.txt
However, neither of these work:
Code: Select all
sel " ";
selfilter " ";
So I have two questions. (1) how can I do this and (2) shouldn't selfilter (at least) achieve this i.e. is there a bug?
Code: Select all
sel " ";
selfilter " ";
Code: Select all
>[\s]{2,}Code: Select all
selfilter "* *"; //selects two-consecutive-spaces-in-name items
text get('SelectedItemsPathNames', <crlf>); //an operation on selected items, lists all of themCode: Select all
$a = <<<#
c:\test\soft\xy\_Titlebar Template_02.txt
c:\test\soft\xy\_TitlebarTemplate_ _01.txt
c:\test\soft\xy\_TitlebarTemplate_ 01.txt
c:\test\soft\xy\_TitlebarTemplate.txt
#;
$b = regexmatches("$a", "^.*?\b( {2,})\b.*$", "<crlf>");
text $b;Code: Select all
$b = regexmatches($a, "^.*?\b {2}\b.*$", "<crlf>");Code: Select all
selfilter "* *"There is no direct way to do this. You have to use e.g. listfolder() and a regexmatch() afterwards.Can you tell me how to in general select list pane files using a regex?