Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Add the Ability to use Wildcard Characters when using the Search Function in the UI #9055

Open
DavidResende0 opened this issue Jan 26, 2024 · 5 comments
Assignees

Comments

@DavidResende0
Copy link
Member

Currently, you can't use wildcard characters in the search bar which can make searching for groups of similar items difficult.

For example, there's currently no way to search for only the first two entries in this list of vms without all four of these vms appearing in the search results.

Adding the wildcard characters would let you search for any single character (b?rd would return bird, bard, etc.), any number of characters (charact* would return character, characterization, characters, etc.), or ~ which lets you include the other wildcard characters in your search (Hello~? would return Hello?)

@DavidResende0 DavidResende0 self-assigned this Jan 26, 2024
@DavidResende0 DavidResende0 changed the title Add the Ability to use Wildcard Characters when using the Search Function in the UI [RFE] Add the Ability to use Wildcard Characters when using the Search Function in the UI Jan 26, 2024
@DavidResende0
Copy link
Member Author

DavidResende0 commented Jan 26, 2024

cc @GilbertCherrie, @jeffibm, @Fryguy

@Fryguy
Copy link
Member

Fryguy commented Jan 26, 2024

? And * are good and are fairly standard. Where does the ~ syntax come from?

@DavidResende0
Copy link
Member Author

DavidResende0 commented Jan 26, 2024

? And * are good and are fairly standard. Where does the ~ syntax come from?

I was reading a bit about them and saw that ~ is sometimes used to show that you're trying to specifically search for the ? or * character as opposed to using them as a wildcard character.

@Fryguy
Copy link
Member

Fryguy commented Jan 26, 2024

Interesting - can you share a link to where you saw that? Only asking because usually I've seen \ as an escape character, but had never seen ~

@DavidResende0
Copy link
Member Author

Interesting - can you share a link to where you saw that? Only asking because usually I've seen \ as an escape character, but had never seen ~

So I looked into it some more and you're right, I think \ is used more often but Microsoft Access (https://support.microsoft.com/en-gb/office/examples-of-wildcard-characters-939e153f-bd30-47e4-a763-61897c87b3f4) and Apple (https://support.apple.com/en-ca/guide/functions/ffa4268b2bb0/web) seem to use ~.

Don't think it matters too much either way, so we can just stick to \.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants