if the filename is a longfilenamestring , I want to filter it with longstr
This question probably needs a little bit more background to receive an answer.
let's say there are many files in a folder:
aaaaaabbb
aaabbb
aaabbbbccc
xxxyyyzzz
xxx
yyyy
zzz
if you when quickly locate aaabbbbccc file, you need type aaabbbbccc, which is long string, in fuzzy mode, you just need type abc to locate it
There's no built-in fuzzy search ... because it will probably raise too many irrelevant results.
If you enter quick find in regexp mode, you could type ^a.*b.*c.* to get everything starting with an a also containing (somewhere after a) a b and then (somewhere after b) a c.
You can find implementation of fuzzy search in this forum for folder aliases if I remember correclty (I'll add the link if I can find it back). But this is a custom implementation for a specific need with a specific algorithm.
EDIT:
And another related post:
What you seem to be describing is order-subsequence filtering. That could be done via scripting. In your search query every character would need appear in the actual file name (and in the specified order). A single wrong character would return no result, so it would not be as forgiving as true fuzzy searching. It would basically just be the regex described above. The regex could, howeever, be created automatically from a search query entered into the FAYT bar.
