Merge pull request #2533 from Flow-Launcher/fix-windows-index

Fix: Explorer plugin's Windows Index search returning no results
This commit is contained in:
Garulf 2024-02-04 20:30:30 -05:00 committed by GitHub
commit 6bd1da7b34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.WindowsIndex
{
// Reserved keywords in oleDB
private static Regex _reservedPatternMatcher = new(@"[`\@\\#\\\^,\&\\/\\\$\%_;\[\]]+", RegexOptions.Compiled);
private static Regex _reservedPatternMatcher = new(@"^[`\@\\#\\\^,\&\\/\\\$\%_;\[\]]+$", RegexOptions.Compiled);
private static async IAsyncEnumerable<SearchResult> ExecuteWindowsIndexSearchAsync(string indexQueryString, string connectionString, [EnumeratorCancellation] CancellationToken token)
{