fork download
  1. # -*- coding: utf-8 -*-
  2. import re
  3. print(re.match(ur'(\w+)', u'Straße', flags=re.U).group(1).encode("utf8"))
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
Straße