Improved design of ticket template. Simplified regexps.