add numbers to regexp by creating node