Can't match str/unicode

Chris Angelico rosuav at gmail.com
Sat Jan 7 23:46:48 EST 2017


On Sun, Jan 8, 2017 at 3:31 PM, CM <cmpython at gmail.com> wrote:
> On Saturday, January 7, 2017 at 6:42:25 PM UTC-5, Chris Angelico wrote:
>
>> What happens if you print the repr of each string? Or, if one of them
>> truly is a literal, just print the repr of the one you got from
>> win32com.
>>
>> ChrisA
>
> Yes, that did it. The repr of that one was, in fact:
>
> u'match /r'
>
> Thanks!

Are you sure that's what it was? Copy and paste for accuracy.

ChrisA



More information about the Python-list mailing list