match node to index by pattern match on attribute's value

<text qname='b' attribute='class=.*title.*'/>