Which characters are valid for a tag?

I like to better understand what a word could consist of.

Has a word to start with an alpha character or is a word just [A-Za-z0-9]+?

Or is it even possible to contain other unicode characters, e.g. #äpfel ?