How do I check for open and close german quote? It simple does not work:
-- coding: utf-8 --
problem: match of „
import re
test = u" „Hallo Welt“ "
if re.match(r"“", test): print("close quote")
if re.match(r"„", test): print("open quote")
The idle shell prints NOTHING.