Repository: DestinyItemManager/DIM (ts)

Issue:
suggester considers incomplete range filters to be complete
once you add the math operator here,
suggester considers the previous filter complete enough that it starts suggesting fresh new filters if you type enough to trigger suggestions
`season:` doesn't trigger this,
`season:<` or `season:=` etc triggers this

![image](https://user-images.githubusercontent.com/68782081/107032129-29c57c00-6768-11eb-852a-1f3a268b1bd9.png)


Pull request description:
Fix autocompletion considering rangeoverload filters complete too early
Would be cool to actually complete the term here but that'd have to happen in the autocompleter because I don't want to blow up filters help again.

Fixes #6482.

Patch:
diff --git a/src/app/search/autocomplete.ts b/src/app/search/autocomplete.ts
index 0dae9fb9f..b1af6b694 100644
--- a/src/app/search/autocomplete.ts
+++ b/src/app/search/autocomplete.ts
@@ -168,7 +168,7 @@ export function filterSortRecentSearches(query: string, recentSearches: Search[]
 const caretEndRegex = /([\s)]|$)/;
 
 // most times, insist on at least 3 typed characters, but for #, start suggesting immediately
-const lastWordRegex = /(\b[\w:"']{3,}|#\w*)$/;
+const lastWordRegex = /(\b[\w:"'<=>]{3,}|#\w*)$/;
 // matches a string that seems to end with a closing, not opening, quote
 const closingQuoteRegex = /\w["']$/;
 


Test patch:
diff --git a/src/app/search/__snapshots__/autocomplete.test.ts.snap b/src/app/search/__snapshots__/autocomplete.test.ts.snap
index 51e6f7698..d00b2a235 100644
--- a/src/app/search/__snapshots__/autocomplete.test.ts.snap
+++ b/src/app/search/__snapshots__/autocomplete.test.ts.snap
@@ -51,6 +51,8 @@ Array [
 ]
 `;
 
+exports[`autocompleteTermSuggestions autocomplete within query for |season:>outl| with caret at position 12 1`] = `Array []`;
+
 exports[`filterComplete autocomplete terms for |is:b| 1`] = `
 Array [
   "is:bow",
diff --git a/src/app/search/autocomplete.test.ts b/src/app/search/autocomplete.test.ts
index 4f77f7a78..befcf8cc3 100644
--- a/src/app/search/autocomplete.test.ts
+++ b/src/app/search/autocomplete.test.ts
@@ -14,6 +14,7 @@ describe('autocompleteTermSuggestions', () => {
     ['is:haspower is:b', 16],
     ['(is:blue jun)', 11],
     ['is:bow is:void', 11],
+    ['season:>outl', 12],
   ];
 
   test.each(cases)(