Yes, you can use a dash. You can also have letters (anyway) or numbers. The name must be between 1 and 500 characters.
That's all if you look at the source code , which indicates that the task names must match this regular expression:
MAX_TASK_NAME_LENGTH = 500 r'^[a-zA-Z0-9-]{1,%s}$' % MAX_TASK_NAME_LENGTH
source share