Originally Posted by ldolse
(?u) only changes things like \w to use unicode character maps, I don't think it tells python the string itself is unicode.
You are correct. For some reason I was thinking of u'' when I said (?u). But that's not an issue because the strings are already turned into unicode strings internally.