What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
raccoon
Posts: 187
Joined: Thu Oct 18, 2018 1:24 am

What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by raccoon » Tue Oct 12, 2021 3:04 am

filelist0:
filelist1:
...
filelist9:

Search for the file list.
Hold down CTRL and click the filelist0: - filelist9: text in the search box to add or remove files from the file list.

Example:
filelist0: !filelist1:
Is there any way to use partial filenames inside of filelists in order to locate all substring matches?

I found that the filelists will accept full-paths and whole filenames-with-extension only, but not substrings or wildcards.

I was hoping to use these filelist dialogues to paste a long list of names from Notepad, instead of using <name1|name2|...|name200> grouping, where the list item names match the left side of the files I'm looking for.

I see how this quickly can spiral into supporting all sorts of search syntax and compromise the feature's intended scope. Wildcards * and ? should at least not compromise existing left/right anchoring, if supported.
Apples.1999.*
Bananas.2002.*
Grapes.2014.*
Oranges.2017.*
*.2019.*

void
Site Admin
Posts: 7759
Joined: Fri Oct 16, 2009 11:31 pm

Re: What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by void » Tue Oct 12, 2021 3:13 am

Is there any way to use partial filenames inside of filelists in order to locate all substring matches?
Currently no.

I've put on my TODO list to support wildcards.
However, expect the same performance as <name*1|name*2|...|name*200>

With Everything 1.5, you can paste:

Code: Select all

Apples.1999.*
Bananas.2002.*
Grapes.2014.*
Oranges.2017.*
*.2019.*
Directly into the search box and Everything will automatically setup OR groups from each line.



paste_new_line_op

raccoon
Posts: 187
Joined: Thu Oct 18, 2018 1:24 am

Re: What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by raccoon » Tue Oct 12, 2021 4:13 am

Thanks @void:

There are a couple concerns I have with pasting long OR groups:

- The text in the search bar becomes invisible for very long strings. Between 5~6 Kb in 1.4; Between 6~7 Kb in 1.5. (Windows 7 Editbox control)

- Currently, the auto OR grouping uses <line1>|<line2>|<line3>|<line4> syntax, but not <line1|line2|line3|line4>, regardless of OR>AND operator precedence.

- It's very difficult impossible to make small modifications to a long OR grouped list without going back to Notepad.

- I assume filelist0: will support encapsulation in other functions at some point, if not already.

I really am excited by these new filelists, and hope to see them better documented and explained. Like, how long do they persist in memory before being recycled? And the fact that a hotkey can be assigned for the File List Editor (just discovered).

Is there any way I can help with documentation? Maybe a wiki?

void
Site Admin
Posts: 7759
Joined: Fri Oct 16, 2009 11:31 pm

Re: What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by void » Tue Oct 12, 2021 9:00 am

how long do they persist in memory before being recycled?
File lists only last while the Everything Search window is opened.
Once the window is closed the list is lost.
Use the Export option to save a file list to disk.
Use the Import option to load a file list from disk.


- I assume filelist0: will support encapsulation in other functions at some point, if not already.
Currently there is no functions that take a file list slot.
I will add support for this where appropriate.


Is there any way I can help with documentation? Maybe a wiki?
Thank you for your offer to help.
I've make a forum post here to try to cover all the file list slot information.
I've started with the basics, please feel free to add to this forum post.

I will merge this into the support wiki for the Everything 1.5 release.

void
Site Admin
Posts: 7759
Joined: Fri Oct 16, 2009 11:31 pm

Re: What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by void » Thu Oct 14, 2021 5:47 am

Everything 1.5.0.1280a adds support for wildcards in filelists.


Please do not expect the best performance for hundreds of wildcard tests.
An OR list DFA is on my TODO list to make this instant.

Everything 1.5.0.1280a also adds support for opening the file list slot editor when pressing F2 while the caret is on the filelist1: text.

raccoon
Posts: 187
Joined: Thu Oct 18, 2018 1:24 am

Re: What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by raccoon » Thu Oct 14, 2021 6:14 am

nice! Thanks! And F2 is extremely convenient :D (Are there any other syntax at this point that uses F2 for expansion?)

((I wouldn't even know where to begin writing a DFA for that. Geez man!))

void
Site Admin
Posts: 7759
Joined: Fri Oct 16, 2009 11:31 pm

Re: What Substrings Are Supported By filelist0: filelist1 ... filelist9:?

Post by void » Thu Oct 14, 2021 6:19 am

Anywhere in Everything, F2 = Edit.


The following function calls use F2 from the search box (or Ctrl + Click):
filelist0: - filelist9:
childfilelist0: - childfilelist9:
includefilelist:
include:

Post Reply