title: Search inside extjs tree store
body: <p>I have a textfield in my tree toolbar that should take a string from a user then search that through a specific column of tree. I use store filter but there is a problem in my code and I dont know what it is. thanks for help.
  This is my code: </p>
  
  <pre><code>var onSimpleSearch = function(){
   var searchStr= Ext.getCmp('searchField').getValue();
     if(searchStr){
      var tree = Ext.getCmp('infra_tree');
      var tstore = tree.getStore();
      var searchReg = new RegExp(".*" + searchStr + ".*", "ig");
      console.log(searchReg); //return RegExp!!!!!!!
      tstore.filter("ipadd", searchReg});
  }else {
      Ext.MessageBox.show({
          title: 'Nothing to search',
          msg: 'Search string is empty',
          icon : 'ext-mb-info',
          buttons: Ext.MessageBox.OK
      });
    }
  };
  </code></pre>