fork(1) download
  1. import re
  2.  
  3. print(re.findall(r'\w', 'a1٤4'))
  4.  
  5. print(re.findall(r'\w', 'a1٤4', flags = re.UNICODE))
Success #stdin #stdout 0s 23296KB
stdin
Standard input is empty
stdout
['a', '1', '4']
['a', '1', '\xd9', '4']