Open yochananmarqos opened 4 years ago
I was actually considering the idea of adding a regex:
token like:
all files starting with myfile
input box: regex:^myfile
or
all files ending with myfile
input box: regex:myfile$
exactly myfile
input box: regex:^myfile$
or any other form of valid regex compiled on the fly 🤔
There is also the discussion to be made if Wildcard search and Regex should both be implemented, with Wildcard being enabled by default without any token, instead Regex will be used by pro users with regex:
Describe the solution you'd like
Example 1: I want to be able to search for
*.md
and all Markdown files will be displayed.Example 2: I want to be able to search for
myfile*
and all files beginning withmyfile
will be displayed.Example 3: I want to be able to search for
*myfile
and all files ending withmyfile
will be displayed.Example 4: I want to be able to search for
*myfile*
and all files containingmyfile
wil be displayed.My syntax may be slightly off, however you get my meaning.
Thankee sai.