Thread:Project:Support desk/Regex for template names

What does the correct regex for template and template parameter names look like?

I hope it's something simple like  but I'm surely wrong.

So is it something whacky like  or something even more eccentric?