(app_name)
return app_name, app_tagline
Splits app name into app name and tagline given common formats of app names.

  >>> app_name_tagline('Cluster - share moments')
  ('Cluster', 'share moments')
  >>> app_name_tagline('Cluster')
  ('Cluster', '')
  >>> app_name_tagline('Cluster: Privates')
  ('Cluster', 'Privates')
Splits app name into app name and tagline given common formats of app names.
Splits app name into app name and tagline given common formats of app names .
def app_name_tagline(app_name):
  """Splits app name into app name and tagline given common formats of app names.

  >>> app_name_tagline('Cluster - share moments')
  ('Cluster', 'share moments')
  >>> app_name_tagline('Cluster')
  ('Cluster', '')
  >>> app_name_tagline('Cluster: Privates')
  ('Cluster', 'Privates')
  """
  name_parts = [p for p in re.split(ur'(?: [|–—-]+ |: )', app_name) if p]
  app_name = name_parts[0].strip()
  app_tagline = ''
  if len(name_parts) > 1:
    app_tagline = name_parts[1]

  return app_name, app_tagline
def app_name_tagline ( app_name ) : name_parts = [ p for p in re . split ( ur'(?: [|–—-]+ |: )', ap p name) if ] app_name = name_parts [ 0 ] . strip ( ) app_tagline = '' if len ( name_parts ) > 1 : app_tagline = name_parts [ 1 ] return app_name , app_tagline