print(' '.join(ch for ch in regex.findall('\\X', word)))
assert all(regex.match('\\w$', c) for c in ['a', '\u093f', '\u0915'])
test(regex)
test(re)
Python unicode regular expression matching failing with some unicode characters -bug or mistake?