tags:

views:

45

answers:

2

I am trying to match a range of Unicode characters and I am wondering how to do it. I can match simple ranges like [a-zA-Z] but how do I specify a range of Unicode characters. I've tried

[#xD8-#xF6]

without any luck. Any ideas?

+2  A: 

Try:

[\u00D8-\u00F6]
NullUserException
+1  A: 

Python 2.X

u'[\u00d8-\u00f6]'

Python 3.X

'[\u00d8-\u00f6]'
Mark Tolonen