Sublime Forum

Make \w match characters like ÄÖÜäöüß?

#1

Is it possible to customize the behavior of regex metacharacters for character classes like that?

0 Likes

#2

Use re. U, for unicode, like this

re.compile("\w{1,}", re.U)

0 Likes