def _split_tag_path_pattern(tag_path_pattern):
  """
  Returns a list of tag patterns and the prefix for a given tag path pattern.
  
  Args:
    tag_path_pattern (str)
    
  """
  if tag_path_pattern.startswith('+/') or tag_path_pattern.startswith('*/'):
    prefix = tag_path_pattern[:2]
    tag_path_pattern = tag_path_pattern[2:]
  else:
    prefix = ''
  
  return tag_path_pattern.split('.'), prefix