Revert regex to original

Windows Index will not show results otherwise.
This commit is contained in:
Garulf 2024-02-04 20:06:47 -05:00
parent 694e504a19
commit ca6a6dca4b

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)
{