adding regex validation for tag names