Skip to content

Commit 7d333ae

Browse files
authored
Merge pull request #298 from Flow-Launcher/exclude_chars_explorer
Exclude index search from special chars
2 parents 79962fb + a0f611c commit 7d333ae

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Flow.Launcher.Infrastructure.Logger;
1+
using Flow.Launcher.Infrastructure.Logger;
22
using Microsoft.Search.Interop;
33
using System;
44
using System.Collections.Generic;
@@ -15,7 +15,7 @@ internal class IndexSearch
1515
private readonly ResultManager resultManager;
1616

1717
// Reserved keywords in oleDB
18-
private readonly string reservedStringPattern = @"^[\/\\\$\%_]+$";
18+
private readonly string reservedStringPattern = @"^[`\@\#\^,\&\/\\\$\%_]+$";
1919

2020
internal IndexSearch(PluginInitContext context)
2121
{

Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Flow.Launcher.Plugin.Explorer.Search;
22
using Flow.Launcher.Plugin.Explorer.Search.FolderLinks;
33
using System.Collections.Generic;
4-
using System.Text.Json.Serialization;
54

65
namespace Flow.Launcher.Plugin.Explorer
76
{

Plugins/Flow.Launcher.Plugin.Explorer/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Name": "Explorer",
88
"Description": "Search and manage files and folders. Explorer utilises Windows Index Search",
99
"Author": "Jeremy Wu",
10-
"Version": "1.3.0",
10+
"Version": "1.3.1",
1111
"Language": "csharp",
1212
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
1313
"ExecuteFileName": "Flow.Launcher.Plugin.Explorer.dll",

0 commit comments

Comments
 (0)