added regex query to the node sdk