Hi
I'm getting an error for the following:
I'm getting an error for the following:
import re pattern = re.compile(r"(?u)\w+") list = pattern.findall(ur"ñ") print(list)
Error: list = pattern.findall(ur"ñ")
^
SyntaxError: invalid syntax
Can anybody suggest what the problem might be ?