Skip to content

Commit

Permalink
Case-insensitive filtering (fixes #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
isometry committed Aug 21, 2019
1 parent 405a825 commit 9aa98b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function allSessionObjs(app, query) {
}

function titleFilter(pattern) {
var re = new RegExp(pattern.replace(/./g, "$&.*?"));
var re = new RegExp(pattern.replace(/./g, "$&.*?"), "i");
return (obj) => re.exec(obj.title);
}

Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Combine with an [iTerm2](https://www.iterm2.com/) profile configured as ssh prot
<string>net.isometry.alfred.ssh</string>
</dict>
<key>version</key>
<string>1.4-beta1</string>
<string>1.4</string>
<key>webaddress</key>
<string>https://github.com/isometry/alfred-tty</string>
</dict>
Expand Down

0 comments on commit 9aa98b5

Please sign in to comment.