isStopNode(node){
      for (let i = 0; i < this.stopNodes.length; i++) {
        const givenPath = this.stopNodes[i];
        if(givenPath.match(this.tagsStack, node)) return true;
      }
      return false 
    }
valid expressions are 
tag nested
* nested
tag nested[attribute]
tag nested[attribute=""]
tag nested[attribute!=""]
tag nested:0 //for future
@param {string} tagName 
@returns