[Explorer] Fix ignoring reserved keywords (#2492)

This commit is contained in:
NoPlagiarism 2024-01-18 04:59:26 +05:00 committed by GitHub
parent 1d578790b5
commit 81bfd75294
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)
{