Skip to content

Commit 6bd1da7

Browse files
authored
Merge pull request #2533 from Flow-Launcher/fix-windows-index
Fix: Explorer plugin's Windows Index search returning no results
2 parents 694e504 + ca6a6dc commit 6bd1da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/WindowsIndex.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal static class WindowsIndex
1616
{
1717

1818
// Reserved keywords in oleDB
19-
private static Regex _reservedPatternMatcher = new(@"[`\@\@\#\#\*\^,\&\&\/\\\$\%_;\[\]]+", RegexOptions.Compiled);
19+
private static Regex _reservedPatternMatcher = new(@"^[`\@\@\#\#\*\^,\&\&\/\\\$\%_;\[\]]+$", RegexOptions.Compiled);
2020

2121
private static async IAsyncEnumerable<SearchResult> ExecuteWindowsIndexSearchAsync(string indexQueryString, string connectionString, [EnumeratorCancellation] CancellationToken token)
2222
{

0 commit comments

Comments
 (0)