static bool isValidTarget(String target) { return RegExp(r'^[_a-zA-Z0-9\-]{1,50}$').hasMatch(target); }