message: stop suggesting when a quoted phrase is closed
diff: @@ -165,7 +165,9 @@ export function filterSortRecentSearches(query: string, recentSearches: Search[]
  }
  const caretEndRegex = /([\s)]|$)/;
  -
  +const lastWordRegex = /(\b[\w:"']{3,}|#\w*)$/;
  +// matches a string that seems to end with a closing, not opening, quote
  +const closingQuoteRegex = /\w["']$/;
  /**
  * Given a query and a cursor position, isolate the term that's being typed and offer reformulated queries
  * that replace that term with one from our filterComplete function.
  @@ -184,9 +186,14 @@ export function autocompleteTermSuggestions(
  caretIndex = (caretEndRegex.exec(query.slice(caretIndex))?.index || 0) + caretIndex;
  // Find the last word that looks like a search
  - const match = /\b([\w:"']{3,})$/i.exec(query.slice(0, caretIndex));
  - if (match) {
  + const match = lastWordRegex.exec(query.slice(0, caretIndex));
  + if (!match) {
  + return [];
  + }
  const term = match[1];
  + if (closingQuoteRegex.test(term)) {
  + return [];
  + }
  const candidates = filterComplete(term);
  const base = query.slice(0, match.index);
  @@ -208,9 +215,6 @@ export function autocompleteTermSuggestions(
  });
  }
  - return [];
  -}
  -
  function findFilter(term: string, searchConfig: SearchConfig) {
  const parts = term.split(':');
  let filterName = parts[0];
  