Matching case sensitive unicode strings with regular expressions in Python
-
29-10-2019 - |
문제
Suppose I want to match a lowercase letter followed by an uppercase letter, I could do something like
re.compile(r"[a-z][A-Z]")
Now I want to do the same thing for unicode strings, i.e. match something like 'aÅ' or 'yÜ'.
Tried
re.compile(r"[a-z][A-Z]", re.UNICODE)
but that does not work.
Any clues?
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow