added start/end anchors to node and attr/val regex. Allow numbers with exponent to be included in the matrix regex