Add transitions types to Regex