title: chrome.storage.local.get search string
body: <p>Is it possible to use a regex or something similar to search chrome local storage, rather than having to match the entire key.</p>
  
  <p>Lets say i have a bunch of keys , and I want to get the items where the key contains the string "fubar". So the keys could be "aaafubaraa" or "bbbfubarbbb" and I want it to find those items. Right now, I'm doing this:</p>
  
  <pre><code>chrome.storage.local.get(null, function (e) {
      for (var key in e) {          
          if (key.indexOf("fubar") &gt; -1) {
              console.log(e[key]); // do something with the item
          }         
      }
  </code></pre>
  
  <p>I tried this, which doesn't work because it matches the entire key:</p>
  
  <pre><code>chrome.storage.local.get("fubar", function (e) { console.log(e); });
  </code></pre>
  
  <p>Is there a more efficient way of doing this, as this way requires loading of the entire local storage into memory.</p>